Messages in this thread | | | Date | Tue, 17 Oct 2023 16:54:38 +0100 | From | Matthew Wilcox <> | Subject | Re: [RFC PATCH 1/5] slub: Introduce on_partial() |
| |
On Tue, Oct 17, 2023 at 03:44:35PM +0000, chengming.zhou@linux.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.
| |