Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2215436/?format=api
{ "id": 2215436, "url": "http://patchwork.ozlabs.org/api/patches/2215436/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netfilter-devel/patch/20260324151827.2006656-2-longman@redhat.com/", "project": { "id": 26, "url": "http://patchwork.ozlabs.org/api/projects/26/?format=api", "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, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260324151827.2006656-2-longman@redhat.com>", "list_archive_url": null, "date": "2026-03-24T15:18:26", "name": "[1/2] sched/isolation: Make HK_TYPE_KTHREAD an alias of HK_TYPE_DOMAIN", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "79b520081a3b9ee27ad2e4d67c7809f96ace3cc4", "submitter": { "id": 71281, "url": "http://patchwork.ozlabs.org/api/people/71281/?format=api", "name": "Waiman Long", "email": "longman@redhat.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/netfilter-devel/patch/20260324151827.2006656-2-longman@redhat.com/mbox/", "series": [ { "id": 497305, "url": "http://patchwork.ozlabs.org/api/series/497305/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netfilter-devel/list/?series=497305", "date": "2026-03-24T15:18:25", "name": "ipvs: Fix incorrect use of HK_TYPE_KTHREAD housekeeping cpumask", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/497305/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2215436/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2215436/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <netfilter-devel+bounces-11383-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 (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=chu9seF0;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c15:e001:75::12fc:5321; helo=sin.lore.kernel.org;\n envelope-from=netfilter-devel+bounces-11383-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com\n header.b=\"chu9seF0\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=170.10.133.124", "smtp.subspace.kernel.org;\n dmarc=pass (p=quarantine dis=none) header.from=redhat.com", "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=redhat.com" ], "Received": [ "from sin.lore.kernel.org (sin.lore.kernel.org\n [IPv6:2600:3c15:e001:75::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 4fgDcY4ByNz1xy1\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 25 Mar 2026 02:34:53 +1100 (AEDT)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sin.lore.kernel.org (Postfix) with ESMTP id 69F4530455F2\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 24 Mar 2026 15:19:29 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 26F88406265;\n\tTue, 24 Mar 2026 15:19:17 +0000 (UTC)", "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.133.124])\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 88A9A40627D\n\tfor <netfilter-devel@vger.kernel.org>; Tue, 24 Mar 2026 15:19:13 +0000 (UTC)", "from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-352-M9C8THMbPsyL3eIxAPqsKA-1; Tue,\n 24 Mar 2026 11:19:07 -0400", "from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id 363C61944DCB;\n\tTue, 24 Mar 2026 15:19:04 +0000 (UTC)", "from llong-thinkpadp16vgen1.westford.csb (unknown [10.22.65.192])\n\tby mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id A712D18001FE;\n\tTue, 24 Mar 2026 15:18:57 +0000 (UTC)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1774365555; cv=none;\n b=GhoZlH4ko0ltRe5Yt7tLmI+wL6+q83PIZc7vdHrBiQUSO/ujaJoXL3OX1BYu2OC+zck1sSUO0yExdaY4YuQGRxXVjyvbVhT+rl6vkCxCSjlnU3Ztjp8eauxQwHueQpP/tnLSnh2NmJ5RMOvZotmxQfnfse2AIrHKm4MWtUt8JFw=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1774365555; c=relaxed/simple;\n\tbh=Wx3rCjft+f2xsQztl0u/tUkCuC3NJhEmQV+HjeE0iDk=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=pM8+12s+z2W8c6BmTqZTQQDPukBtMFpkD0fcS+DEbeS82ZJmA/Kg3t2MV2Urw31/dQ7fttSuueDKSRnstNSBppZ2dpVlhAvQIjWLQEeonmP1VKrJ+UFhipov9lEUXBIbVnyMvGJi+eBdbmv6i6emGzagyIilncIEUvznV0eo6CQ=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=quarantine dis=none) header.from=redhat.com;\n spf=pass smtp.mailfrom=redhat.com;\n dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com\n header.b=chu9seF0; arc=none smtp.client-ip=170.10.133.124", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n\ts=mimecast20190719; t=1774365552;\n\th=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n\t to:to:cc:cc:mime-version:mime-version:\n\t content-transfer-encoding:content-transfer-encoding:\n\t in-reply-to:in-reply-to:references:references;\n\tbh=NM71jEPy1P0WHGHdPzJuToYXqWbTBefaY9NqYpg0IOU=;\n\tb=chu9seF0UM5HWcvKxFx+jsaWJQ9lKeUN/dTRDBwgOxIZirQPgCB/qU0kNYPKuERTLlUmW7\n\tYaqPeTyPIlc9XFVEzQ7KyMr79V6QUZDHtZ+gqvlWFh7eSZdxaJk/7mV+7Eg1fduFdIFElQ\n\ta4FgZjonDAidLTU+WH31CdopB8TBGEY=", "X-MC-Unique": "M9C8THMbPsyL3eIxAPqsKA-1", "X-Mimecast-MFC-AGG-ID": "M9C8THMbPsyL3eIxAPqsKA_1774365545", "From": "Waiman Long <longman@redhat.com>", "To": "Simon Horman <horms@verge.net.au>,\n\tJulian Anastasov <ja@ssi.bg>,\n\t\"David S. Miller\" <davem@davemloft.net>,\n\tDavid Ahern <dsahern@kernel.org>,\n\tEric Dumazet <edumazet@google.com>,\n\tJakub Kicinski <kuba@kernel.org>,\n\tPaolo Abeni <pabeni@redhat.com>,\n\tPablo Neira Ayuso <pablo@netfilter.org>,\n\tFlorian Westphal <fw@strlen.de>,\n\tPhil Sutter <phil@nwl.cc>,\n\tFrederic Weisbecker <frederic@kernel.org>,\n\tChen Ridong <chenridong@huawei.com>,\n\tPhil Auld <pauld@redhat.com>", "Cc": "linux-kernel@vger.kernel.org,\n\tnetdev@vger.kernel.org,\n\tlvs-devel@vger.kernel.org,\n\tnetfilter-devel@vger.kernel.org,\n\tcoreteam@netfilter.org,\n\tsheviks <sheviks@gmail.com>,\n\tWaiman Long <longman@redhat.com>", "Subject": "[PATCH 1/2] sched/isolation: Make HK_TYPE_KTHREAD an alias of\n HK_TYPE_DOMAIN", "Date": "Tue, 24 Mar 2026 11:18:26 -0400", "Message-ID": "<20260324151827.2006656-2-longman@redhat.com>", "In-Reply-To": "<20260324151827.2006656-1-longman@redhat.com>", "References": "<20260324151827.2006656-1-longman@redhat.com>", "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", "X-Scanned-By": "MIMEDefang 3.4.1 on 10.30.177.93" }, "content": "Since 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>\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": [ "1/2" ] }