[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZS6uPqJMWgQfoD+j@casper.infradead.org>
Date: Tue, 17 Oct 2023 16:54:38 +0100
From: Matthew Wilcox <willy@...radead.org>
To: chengming.zhou@...ux.dev
Cc: cl@...ux.com, penberg@...nel.org, rientjes@...gle.com,
iamjoonsoo.kim@....com, akpm@...ux-foundation.org, vbabka@...e.cz,
roman.gushchin@...ux.dev, 42.hyeyoo@...il.com, linux-mm@...ck.org,
linux-kernel@...r.kernel.org,
Chengming Zhou <zhouchengming@...edance.com>
Subject: Re: [RFC PATCH 1/5] slub: Introduce on_partial()
On Tue, Oct 17, 2023 at 03:44:35PM +0000, chengming.zhou@...ux.dev wrote:
> We change slab->__unused to slab->flags to use it as SLUB_FLAGS, which
> now only include SF_NODE_PARTIAL flag. It indicates whether or not the
> slab is on node partial list.
This is an unnecessarily complex solution. As with the pfmemalloc bit,
we can reuse the folio flags for a few flags. I would recommend the
PG_workingset bit for this purpose.
Powered by blists - more mailing lists