Commit 41710443 authored by Changbin Du's avatar Changbin Du Committed by Linus Torvalds

mm: update comments for struct page.mapping

struct page.mapping can be NULL or points to one object of type
address_space, anon_vma or KSM private structure.

Link: default avatarChangbin Du <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent c413af87
......@@ -48,8 +48,10 @@ struct page {
* inode address_space, or NULL.
* If page mapped as anonymous
* memory, low bit is set, and
* it points to anon_vma object:
* see PAGE_MAPPING_ANON below.
* it points to anon_vma object
* or KSM private structure. See
void *s_mem; /* slab first object */
atomic_t compound_mapcount; /* first tail page */
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