projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c413af8
)
mm: update comments for struct page.mapping
author
Changbin Du
<changbin.du@intel.com>
Thu, 16 Nov 2017 01:32:53 +0000
(17:32 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 16 Nov 2017 02:21:02 +0000
(18:21 -0800)
struct page.mapping can be NULL or points to one object of type
address_space, anon_vma or KSM private structure.
Link:
http://lkml.kernel.org/r/1506485067-15954-1-git-send-email-changbin.du@intel.com
Signed-off-by: Changbin Du <changbin.du@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mm_types.h
patch
|
blob
|
history
diff --git
a/include/linux/mm_types.h
b/include/linux/mm_types.h
index c85f11dafd56064c5c77a4e39cd4ad7a74f65755..d1b8e8f97fc2cf563c8396014e68da30c2b603c4 100644
(file)
--- a/
include/linux/mm_types.h
+++ b/
include/linux/mm_types.h
@@
-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
+ * PAGE_MAPPING_ANON and
+ * PAGE_MAPPING_KSM.
*/
void *s_mem; /* slab first object */
atomic_t compound_mapcount; /* first tail page */