Re: [PATCH v2 3/3] mm: add WQ_PERCPU to alloc_workqueue users
From: Sebastian Andrzej Siewior
Date: Sat Jan 24 2026 - 17:21:49 EST
On 2026-01-13 12:46:30 [+0100], Marco Crivellari wrote:
> --- a/mm/slub.c
> +++ b/mm/slub.c
> @@ -8542,7 +8542,9 @@ void __init kmem_cache_init(void)
>
> void __init kmem_cache_init_late(void)
> {
> - flushwq = alloc_workqueue("slub_flushwq", WQ_MEM_RECLAIM, 0);
> +#ifndef CONFIG_SLUB_TINY
This ifndef does not belong here.
> + flushwq = alloc_workqueue("slub_flushwq", WQ_MEM_RECLAIM | WQ_PERCPU,
> + 0);
> WARN_ON(!flushwq);
> }
Without the ifndef above I am happy with
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
Sebastian