diff options
author | Frederic Weisbecker <frederic@kernel.org> | 2022-02-07 16:59:05 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-02-16 15:57:54 +0100 |
commit | c8fb9f22ae22dbe06a43b77717299e1c3e632d5c (patch) | |
tree | 9770459ec792c8e225a138ddab3ad3e4a8ef0f69 /kernel/kthread.c | |
parent | workqueue: Decouple HK_FLAG_WQ and HK_FLAG_DOMAIN cpumask fetch (diff) | |
download | linux-c8fb9f22ae22dbe06a43b77717299e1c3e632d5c.tar.xz linux-c8fb9f22ae22dbe06a43b77717299e1c3e632d5c.zip |
net: Decouple HK_FLAG_WQ and HK_FLAG_DOMAIN cpumask fetch
To prepare for supporting each feature of the housekeeping cpumask
toward cpuset, prepare each of the HK_FLAG_* entries to move to their
own cpumask with enforcing to fetch them individually. The new
constraint is that multiple HK_FLAG_* entries can't be mixed together
anymore in a single call to housekeeping cpumask().
This will later allow, for example, to runtime modify the cpulist passed
through "isolcpus=", "nohz_full=" and "rcu_nocbs=" kernel boot
parameters.
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Juri Lelli <juri.lelli@redhat.com>
Reviewed-by: Phil Auld <pauld@redhat.com>
Link: https://lore.kernel.org/r/20220207155910.527133-4-frederic@kernel.org
Diffstat (limited to 'kernel/kthread.c')
0 files changed, 0 insertions, 0 deletions