]> git.baikalelectronics.ru Git - kernel.git/commit
mm: document how to use struct page
authorMatthew Wilcox <mawilcox@microsoft.com>
Thu, 1 Feb 2018 00:19:06 +0000 (16:19 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 Feb 2018 01:18:38 +0000 (17:18 -0800)
commit4a06e0ef289b93e4a9abdf3d3ce4837f9a45f5c9
treed2f83adc7cc05ad041793d3e883b457d4894ee50
parent8259c2f9b38e327a89ec7648f8f33986d2f60a4a
mm: document how to use struct page

Be really explicit about what bits / bytes are reserved for users that
want to store extra information about the pages they allocate.

Link: http://lkml.kernel.org/r/20171220155552.15884-8-willy@infradead.org
Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Christoph Lameter <cl@linux.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mm_types.h