Re: [PATCH v2 08/12] workqueue, mm: Support dynamic housekeeping mask updates
From: Frederic Weisbecker
Date: Wed Apr 15 2026 - 06:50:14 EST
Le Mon, Apr 13, 2026 at 03:43:14PM +0800, Qiliang Yuan a écrit :
> Unbound workqueues and kcompactd threads determine their default CPU
> affinity from housekeeping masks (HK_TYPE_WQ, HK_TYPE_DOMAIN, and
> HK_TYPE_KTHREAD) at boot. Currently, these boundaries are static and
> are not updated if housekeeping is reconfigured at runtime.
>
> Implement housekeeping notifiers for both workqueue and mm compaction.
>
> This ensures that unbound workqueue tasks and background compaction
> threads honor dynamic isolation boundaries configured via sysfs or
> cpuset at runtime.
>
> Signed-off-by: Qiliang Yuan <realwujing@xxxxxxxxx>
Unbound workqueues and kthreads are already handled by cpuset
isolated partitions.
Thanks.
--
Frederic Weisbecker
SUSE Labs