Commit b538e422 authored by Yisheng Xie's avatar Yisheng Xie Committed by Linus Torvalds

mm/zsmalloc: fix comment in zsmalloc

The class index and fullness group are not encoded in
(first)page->mapping any more, after commit 3783689a ("zsmalloc:
introduce zspage structure").  Instead, they are store in struct zspage.

Just delete this unneeded comment.

Link: default avatarYisheng Xie <>
Suggested-by: default avatarSergey Senozhatsky <>
Reviewed-by: default avatarSergey Senozhatsky <>
Acked-by: default avatarMinchan Kim <>
Cc: Nitin Gupta <>
Cc: Hanjun Guo <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent ad69444e
......@@ -267,10 +267,6 @@ struct zs_pool {
* A zspage's class index and fullness group
* are encoded in its (first)page->mapping
#define CLASS_BITS 8
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment