diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-10-04 14:46:47 +0100 |
---|---|---|
committer | Vlastimil Babka <vbabka@suse.cz> | 2022-01-06 12:27:03 +0100 |
commit | ffedd09fa9b06d0d79e123bbf4ec81125456d982 (patch) | |
tree | 71bf67759c5366a6046df6b43c9ca28bb3956008 /arch | |
parent | 9c01e9af171f13cf6573f404ecaf96dfa48233ab (diff) | |
download | linux-ffedd09fa9b06d0d79e123bbf4ec81125456d982.tar.bz2 |
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 'arch')
0 files changed, 0 insertions, 0 deletions