aboutsummaryrefslogtreecommitdiffstats
path: root/mm/sparse.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2021-10-04 14:46:47 +0100
committerVlastimil Babka <vbabka@suse.cz>2022-01-06 12:27:03 +0100
commitffedd09fa9b06d0d79e123bbf4ec81125456d982 (patch)
tree71bf67759c5366a6046df6b43c9ca28bb3956008 /mm/sparse.c
parentmm/slub: Define struct slab fields for CONFIG_SLUB_CPU_PARTIAL only when enabled (diff)
downloadlinux-dev-ffedd09fa9b06d0d79e123bbf4ec81125456d982.tar.xz
linux-dev-ffedd09fa9b06d0d79e123bbf4ec81125456d982.zip
zsmalloc: Stop using slab fields in struct page
The ->freelist and ->units members of struct page are for the use of slab only. I'm not particularly familiar with zsmalloc, so generate the same code by using page->index to store 'page' (page->index and page->freelist are at the same offset in struct page). This should be cleaned up properly at some point by somebody who is familiar with zsmalloc. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Vlastimil Babka <vbabka@suse.cz> Acked-by: Minchan Kim <minchan@kernel.org> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Cc: Nitin Gupta <ngupta@vflare.org> Cc: Sergey Senozhatsky <senozhatsky@chromium.org>
Diffstat (limited to 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions