{"id":2230901,"url":"http://patchwork.ozlabs.org/api/1.1/patches/2230901/?format=json","web_url":"http://patchwork.ozlabs.org/project/netfilter-devel/patch/20260430074420.26697-9-ja@ssi.bg/","project":{"id":26,"url":"http://patchwork.ozlabs.org/api/1.1/projects/26/?format=json","name":"Netfilter Development","link_name":"netfilter-devel","list_id":"netfilter-devel.vger.kernel.org","list_email":"netfilter-devel@vger.kernel.org","web_url":null,"scm_url":null,"webscm_url":null},"msgid":"<20260430074420.26697-9-ja@ssi.bg>","date":"2026-04-30T07:44:20","name":"[PATCHv3,nf,8/8] sched/isolation: Make HK_TYPE_KTHREAD an alias of HK_TYPE_DOMAIN","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"79b520081a3b9ee27ad2e4d67c7809f96ace3cc4","submitter":{"id":2825,"url":"http://patchwork.ozlabs.org/api/1.1/people/2825/?format=json","name":"Julian Anastasov","email":"ja@ssi.bg"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/netfilter-devel/patch/20260430074420.26697-9-ja@ssi.bg/mbox/","series":[{"id":502227,"url":"http://patchwork.ozlabs.org/api/1.1/series/502227/?format=json","web_url":"http://patchwork.ozlabs.org/project/netfilter-devel/list/?series=502227","date":"2026-04-30T07:44:12","name":"IPVS fixes for nf","version":1,"mbox":"http://patchwork.ozlabs.org/series/502227/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2230901/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2230901/checks/","tags":{},"headers":{"Return-Path":"\n <netfilter-devel+bounces-12323-incoming=patchwork.ozlabs.org@vger.kernel.org>","X-Original-To":["incoming@patchwork.ozlabs.org","netfilter-devel@vger.kernel.org"],"Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (4096-bit key;\n unprotected) header.d=ssi.bg header.i=@ssi.bg header.a=rsa-sha256\n header.s=ssi header.b=KqkpTx22;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org;\n envelope-from=netfilter-devel+bounces-12323-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)","smtp.subspace.kernel.org;\n\tdkim=pass (4096-bit key) header.d=ssi.bg header.i=@ssi.bg header.b=\"KqkpTx22\"","smtp.subspace.kernel.org;\n arc=none smtp.client-ip=193.238.174.39","smtp.subspace.kernel.org;\n dmarc=pass (p=reject dis=none) header.from=ssi.bg","smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=ssi.bg"],"Received":["from sea.lore.kernel.org (sea.lore.kernel.org\n [IPv6:2600:3c0a:e001:db::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g5mZ12hpRz1yGq\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 17:50:49 +1000 (AEST)","from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id CCFA2303ADDF\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 07:47:59 +0000 (UTC)","from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 6E9883FA5D5;\n\tThu, 30 Apr 2026 07:47:59 +0000 (UTC)","from mx.ssi.bg (mx.ssi.bg [193.238.174.39])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id A8EA635836B;\n\tThu, 30 Apr 2026 07:47:55 +0000 (UTC)","from mx.ssi.bg (localhost [127.0.0.1])\n\tby mx.ssi.bg (Potsfix) with ESMTP id 0AAF42292A;\n\tThu, 30 Apr 2026 10:47:54 +0300 (EEST)","from box.ssi.bg (box.ssi.bg [193.238.174.46])\n\tby mx.ssi.bg (Potsfix) with ESMTPS;\n\tThu, 30 Apr 2026 10:47:52 +0300 (EEST)","from ja.ssi.bg (unknown [213.16.62.126])\n\tby box.ssi.bg (Potsfix) with ESMTPSA id 6859B60818;\n\tThu, 30 Apr 2026 10:47:52 +0300 (EEST)","from ja.home.ssi.bg (localhost.localdomain [127.0.0.1])\n\tby ja.ssi.bg (8.18.1/8.18.1) with ESMTP id 63U7ixT4027482;\n\tThu, 30 Apr 2026 10:44:59 +0300","(from root@localhost)\n\tby ja.home.ssi.bg (8.18.1/8.18.1/Submit) id 63U7ixHa027481;\n\tThu, 30 Apr 2026 10:44:59 +0300"],"ARC-Seal":"i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777535278; cv=none;\n b=P5sDkaan1J0y/gOpIrgkPOpBFKRBEMOk53jsiv0XwOERgUKAkXlW6JbI/3tE5Yv1gvQ1VwrC7zB4IrCJskMX4K6JFQdtmRiAaAozT5+CVaKa+kOVMUngkJqLA4jyc7u0WymDOtrRA3F9MasNKcyOfYcP3MBUVclAUWEZ335rIu8=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777535278; c=relaxed/simple;\n\tbh=q3hgn3XtgGXyTlNF4i4VVkcHuQBF9ThMMVu0/ffjyeo=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=KURNvfakzSbV/DB4IDZ7vKs3sOwtx1DotBCRxmP6Man+50Hx1udnv5ZfWn+1ypECe1mIiOCx2nREFTyLOiDoCAGfyYVyL9wax/OkbZUq52O/MvU5G+BhR2iVCjDVC6JVoHMwmnRa2gNPRhfC5NzNv8441Os+hSQilPnfy/HQHig=","ARC-Authentication-Results":"i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=reject dis=none) header.from=ssi.bg;\n spf=pass smtp.mailfrom=ssi.bg;\n dkim=pass (4096-bit key) header.d=ssi.bg header.i=@ssi.bg header.b=KqkpTx22;\n arc=none smtp.client-ip=193.238.174.39","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=ssi.bg; h=cc:cc\n\t:content-transfer-encoding:date:from:from:in-reply-to:message-id\n\t:mime-version:references:reply-to:subject:subject:to:to; s=ssi;\n\t bh=gw69bEhoW4BCbmbNr3RmsbECGj6mMQOxqGgLHbtIkVE=; b=KqkpTx22L3Oa\n\tTLwMSmeBpYhgPiW2Wevu0/M0bu2dNqTHPsU7oX32OmqzBxn7WoqrDEfjtgsCOe5M\n\tsjR4FYAb7uwcAy2+CxcxfSdSvahRm9gRzb8W55b/vydnPTGwMAynwfcC7/ljKt0t\n\tOcCZMWKGVtqN71Wc3HklOvC2VOb7zXi6E4XD6OEtAiAtIA0o4id6QVaMNpsQxB7j\n\tAd/GSJ9bCphRxXe4weTg5s6a/a6vuUW2sigLh7PpEqC/KvhaDofJxbx4976J1EOd\n\tFp6+kIj+YlQMfPu241iHRh4FiWVw/0eyMoHi3QRrH4lQDP79PhMPEI+sDdxavgyW\n\tck2WQmyeWtYmkacWt+np+jfI0q2O9ZMCApi8OH/kXYAFB6YUxwRN/LxmW2zQ3f5A\n\tFBhOdKRDjTG3f34jga2ivdssJweUqdK/EpgTpGMaFfEpnjybXL55OaPbqPKLIYpj\n\t+oh2pJzFchL+GhflBu+KQFGLqZkRyCeJ4NI3zkQPVf5eZjHsYIkxZEfGI3TiIcJ8\n\t0tjs/aKGwlClRv1oee7PLlbJ9PypjvyBEYxW1gezEWE/0kPsZ1fJHtq5e49J3bRU\n\tzgg7iaIY0KcPM2Yvz96mGz8P6Ad4N3XkldCGEFaUUUUniUnYcF4u+WqXHPoOEsF+\n\tzPp2n+Sm1otSn5EHUUVBi/n+DVj4Lh4=","From":"Julian Anastasov <ja@ssi.bg>","To":"Simon Horman <horms@verge.net.au>","Cc":"Pablo Neira Ayuso <pablo@netfilter.org>, Florian Westphal <fw@strlen.de>,\n        Waiman Long <longman@redhat.com>, lvs-devel@vger.kernel.org,\n        netfilter-devel@vger.kernel.org","Subject":"[PATCHv3 nf 8/8] sched/isolation: Make HK_TYPE_KTHREAD an alias of\n HK_TYPE_DOMAIN","Date":"Thu, 30 Apr 2026 10:44:20 +0300","Message-ID":"<20260430074420.26697-9-ja@ssi.bg>","X-Mailer":"git-send-email 2.53.0","In-Reply-To":"<20260430074420.26697-1-ja@ssi.bg>","References":"<20260430074420.26697-1-ja@ssi.bg>","Precedence":"bulk","X-Mailing-List":"netfilter-devel@vger.kernel.org","List-Id":"<netfilter-devel.vger.kernel.org>","List-Subscribe":"<mailto:netfilter-devel+subscribe@vger.kernel.org>","List-Unsubscribe":"<mailto:netfilter-devel+unsubscribe@vger.kernel.org>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit"},"content":"From: Waiman Long <longman@redhat.com>\n\nSince commit 041ee6f3727a (\"kthread: Rely on HK_TYPE_DOMAIN for preferred\naffinity management\"), kthreads default to use the HK_TYPE_DOMAIN\ncpumask. IOW, it is no longer affected by the setting of the nohz_full\nboot kernel parameter.\n\nThat means HK_TYPE_KTHREAD should now be an alias of HK_TYPE_DOMAIN\ninstead of HK_TYPE_KERNEL_NOISE to correctly reflect the current kthread\nbehavior. Make the change as HK_TYPE_KTHREAD is still being used in\nsome networking code.\n\nFixes: 041ee6f3727a (\"kthread: Rely on HK_TYPE_DOMAIN for preferred affinity management\")\nSigned-off-by: Waiman Long <longman@redhat.com>\nSigned-off-by: Julian Anastasov <ja@ssi.bg>\n---\n include/linux/sched/isolation.h | 6 +++++-\n 1 file changed, 5 insertions(+), 1 deletion(-)","diff":"diff --git a/include/linux/sched/isolation.h b/include/linux/sched/isolation.h\nindex dc3975ff1b2e..cf0fd03dd7a2 100644\n--- a/include/linux/sched/isolation.h\n+++ b/include/linux/sched/isolation.h\n@@ -20,6 +20,11 @@ enum hk_type {\n \tHK_TYPE_KERNEL_NOISE,\n \tHK_TYPE_MAX,\n \n+\t/*\n+\t * HK_TYPE_KTHREAD is now an alias of HK_TYPE_DOMAIN\n+\t */\n+\tHK_TYPE_KTHREAD = HK_TYPE_DOMAIN,\n+\n \t/*\n \t * The following housekeeping types are only set by the nohz_full\n \t * boot commandline option. So they can share the same value.\n@@ -29,7 +34,6 @@ enum hk_type {\n \tHK_TYPE_RCU     = HK_TYPE_KERNEL_NOISE,\n \tHK_TYPE_MISC    = HK_TYPE_KERNEL_NOISE,\n \tHK_TYPE_WQ      = HK_TYPE_KERNEL_NOISE,\n-\tHK_TYPE_KTHREAD = HK_TYPE_KERNEL_NOISE\n };\n \n #ifdef CONFIG_CPU_ISOLATION\n","prefixes":["PATCHv3","nf","8/8"]}