aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <[email protected]>2021-10-04 13:46:47 +0000
committerVlastimil Babka <[email protected]>2022-01-06 11:27:03 +0000
commitffedd09fa9b06d0d79e123bbf4ec81125456d982 (patch)
tree71bf67759c5366a6046df6b43c9ca28bb3956008 /lib/test_overflow.c
parentmm/slub: Define struct slab fields for CONFIG_SLUB_CPU_PARTIAL only when enabled (diff)
downloadkernel-ffedd09fa9b06d0d79e123bbf4ec81125456d982.tar.gz
kernel-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) <[email protected]> Signed-off-by: Vlastimil Babka <[email protected]> Acked-by: Minchan Kim <[email protected]> Acked-by: Johannes Weiner <[email protected]> Cc: Nitin Gupta <[email protected]> Cc: Sergey Senozhatsky <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions