]> www.infradead.org Git - users/willy/linux.git/commit
mm: Convert page_to_section() to pgflags_section()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 29 Sep 2021 14:20:00 +0000 (10:20 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Sun, 3 Oct 2021 10:56:47 +0000 (06:56 -0400)
commitc2e423e613da5e5c97af40336a219033d0f16581
treeca55f6636ac659954dd2604a9658c46264411a46
parent030952377ac0a84a2bbe1ef78f10b4d242db38ed
mm: Convert page_to_section() to pgflags_section()

Pass the page->flags to this function instead of the struct page.
This is in preparation for splitting struct page into separate types.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
include/asm-generic/memory_model.h
include/linux/mm.h
mm/sparse.c