On Wed, Dec 01, 2021 at 07:15:04PM +0100, Vlastimil Babka wrote: > From: "Matthew Wilcox (Oracle)" <willy@xxxxxxxxxxxxx> > > 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@xxxxxxxxxxxxx> > Signed-off-by: Vlastimil Babka <vbabka@xxxxxxx> Acked-by: Minchan Kim <minchan@xxxxxxxxxx>