]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: use page->private instead of page->index in percpu
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 5 Oct 2024 20:01:18 +0000 (21:01 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 1 Nov 2024 04:29:03 +0000 (21:29 -0700)
commit14d87765f2b1a6f48c30b8125fa3eacc16111309
tree8814be8261a2e024f563e8dc5de4038ed87d0b5e
parent0d0b496a797f955042d7ab1404f4e228d73c2b06
mm: use page->private instead of page->index in percpu

The percpu allocator only uses one field in struct page, just change it
from page->index to page->private.

Link: https://lkml.kernel.org/r/20241005200121.3231142-8-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/percpu.c