Checking of the housekeeping cpumasks was originally added to the
store_rps_map() method in commit 07bbecb34106 ("net: Restrict receive
packets queuing to housekeeping CPUs"). This store method ensures
that only CPUs in housekeeping cpumask can be set in the "rps_cpus"
of the individual network devices. Later, commit 662ff1aac854 ("net:
Keep ignoring isolated cpuset change") replaced HK_TYPE_DOMAIN by
HK_TYPE_DOMAIN_BOOT as HK_TYPE_DOMAIN cpumask was going to be made
changeable at run time.Now we are going to make the nohz_full housekeeping cpumask to be changeable at run time too. Ideally we should update the housekeeping cpumasks changes should be propagated to the RPS cpumasks, but we need more thoughts to properly synchronize them. Ignore the run time housekeeping cpumask changes and only use the boot time "isolcpus=" and "nohz_full=" values for now. Signed-off-by: Waiman Long <[email protected]> --- net/core/net-sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c index e430645748a7..9e666cc3b34c 100644 --- a/net/core/net-sysfs.c +++ b/net/core/net-sysfs.c @@ -1023,7 +1023,7 @@ int rps_cpumask_housekeeping(struct cpumask *mask) { if (!cpumask_empty(mask)) { cpumask_and(mask, mask, housekeeping_cpumask(HK_TYPE_DOMAIN_BOOT)); - cpumask_and(mask, mask, housekeeping_cpumask(HK_TYPE_WQ)); + cpumask_and(mask, mask, housekeeping_cpumask(HK_TYPE_KERNEL_NOISE_BOOT)); if (cpumask_empty(mask)) return -EINVAL; } -- 2.53.0

