]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched/isolation: Make HK_TYPE_KTHREAD an alias of HK_TYPE_DOMAIN
authorWaiman Long <longman@redhat.com>
Thu, 30 Apr 2026 07:44:20 +0000 (10:44 +0300)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 4 May 2026 23:52:55 +0000 (01:52 +0200)
commit8f78b749f3da0f43990490b4c1193b5ede3eec0a
tree3afec46d43e49e6e9210fc459e0f28348352d265
parentaa6065206987278291c09d0c6aebed687114c925
sched/isolation: Make HK_TYPE_KTHREAD an alias of HK_TYPE_DOMAIN

Since commit 041ee6f3727a ("kthread: Rely on HK_TYPE_DOMAIN for preferred
affinity management"), kthreads default to use the HK_TYPE_DOMAIN
cpumask. IOW, it is no longer affected by the setting of the nohz_full
boot kernel parameter.

That means HK_TYPE_KTHREAD should now be an alias of HK_TYPE_DOMAIN
instead of HK_TYPE_KERNEL_NOISE to correctly reflect the current kthread
behavior. Make the change as HK_TYPE_KTHREAD is still being used in
some networking code.

Fixes: 041ee6f3727a ("kthread: Rely on HK_TYPE_DOMAIN for preferred affinity management")
Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/sched/isolation.h