Re: [PATCH v2 27/33] zsmalloc: Stop using slab fields in struct page
From: Minchan Kim <minchan@kernel.org>
Date: 2021-12-01 23:35:15
Also in:
linux-patches
From: Minchan Kim <minchan@kernel.org>
Date: 2021-12-01 23:35:15
Also in:
linux-patches
On Wed, Dec 01, 2021 at 07:15:04PM +0100, Vlastimil Babka wrote:
From: "Matthew Wilcox (Oracle)" <willy@infradead.org> 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 <redacted>
Acked-by: Minchan Kim <minchan@kernel.org>