On Wed, Dec 01, 2021 at 07:14:44PM +0100, Vlastimil Babka wrote: > From: "Matthew Wilcox (Oracle)" <willy@xxxxxxxxxxxxx> > > In SLUB, use folios, and struct slab to access slab_cache field. > In SLOB, use folios to properly resolve pointers beyond > PAGE_SIZE offset of the object. > > [ vbabka@xxxxxxx: use folios, and only convert folio_test_slab() == true folios > to struct slab ] > > Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> > Signed-off-by: Vlastimil Babka <vbabka@xxxxxxx> Awesome. Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>