]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bootmem: stop using page->index
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 5 Oct 2024 20:01:16 +0000 (21:01 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 1 Nov 2024 04:29:02 +0000 (21:29 -0700)
commit5494e943ff25735bd6684378e22ea5a3813c80cf
treee6fcc6eeb8db877582ab73bda63cd1607f60c897
parentbdaf35f721373bcb48a66bc305cdd75556c66b73
bootmem: stop using page->index

Encode the type into the bottom four bits of page->private and the info
into the remaining bits.  Also turn the bootmem type into a named enum.

Link: https://lkml.kernel.org/r/20241005200121.3231142-6-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: kernel test robot <lkp@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/x86/mm/init_64.c
include/linux/bootmem_info.h
mm/bootmem_info.c
mm/sparse.c