diff options
author | Matthew Wilcox (Oracle) <[email protected]> | 2021-10-04 14:46:47 +0100 |
---|---|---|
committer | Vlastimil Babka <[email protected]> | 2022-01-06 12:27:03 +0100 |
commit | ffedd09fa9b06d0d79e123bbf4ec81125456d982 (patch) | |
tree | 71bf67759c5366a6046df6b43c9ca28bb3956008 /net/lapb/lapb_in.c | |
parent | 9c01e9af171f13cf6573f404ecaf96dfa48233ab (diff) |
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 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions