Skip to contentSkip to conversation

mm/zsmalloc: fix comment in zsmalloc

PATCH New [email protected] 1 participant 1 message Feb 24, 2017

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

PATCH 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.

---

 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
diff -puN mm/zsmalloc.c~mm-zsmalloc-fix-comment-in-zsmalloc mm/zsmalloc.c
@@ -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

_