Messages in this thread Patch in this message | | | From | changbin.du@intel ... | Subject | [PATCH] mm: update comments for struct page.mapping | Date | Tue, 26 Sep 2017 15:14:17 +0800 |
| |
From: Changbin Du <changbin.du@intel.com>
The struct page.mapping can NULL or points to one object of type address_space, anon_vma or KSM private structure.
Signed-off-by: Changbin Du <changbin.du@intel.com> --- include/linux/mm_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h index 46f4ecf5..8dd6cb3 100644 --- a/include/linux/mm_types.h +++ b/include/linux/mm_types.h @@ -47,8 +47,8 @@ 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. */ void *s_mem; /* slab first object */ atomic_t compound_mapcount; /* first tail page */ -- 2.7.4
| |