mm/zsmalloc: fix comment in zsmalloc
Subsystems (2)
[email protected]
maintainerPATCH 85/124 mm/zsmalloc: fix comment in zsmalloc
From: Yisheng Xie <[email protected]>
Subject: mm/zsmalloc: fix comment in zsmalloc
The class index and fullness group are not encoded in (first)page->mapping any more, after commit 3783689a1aa8 ("zsmalloc: introduce zspage structure"). Instead, they are store in struct zspage. Just delete this unneeded comment.
Signed-off-by Yisheng Xie <[email protected]>
Suggested-by Sergey Senozhatsky <[email protected]>
Reviewed-by Sergey Senozhatsky <[email protected]>
Acked-by Minchan Kim <[email protected]>
Cc Nitin Gupta <[email protected]>
Cc Hanjun Guo <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/zsmalloc.c | 4 ---- 1 file changed, 4 deletions(-)
mm/zsmalloc.c renamed from mm/zsmalloc.c~mm-zsmalloc-fix-comment-in-zsmalloc +0 -4
@@ -267,10 +267,6 @@ struct zs_pool {#endif }; -/* -* A zspage's class index and fullness group -* are encoded in its (first)page->mapping -*/ #define FULLNESS_BITS 2#define CLASS_BITS 8#define ISOLATED_BITS 3
_