get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.0/patches/2175085/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2175085,
    "url": "http://patchwork.ozlabs.org/api/1.0/patches/2175085/?format=api",
    "project": {
        "id": 60,
        "url": "http://patchwork.ozlabs.org/api/1.0/projects/60/?format=api",
        "name": "User-mode Linux Development",
        "link_name": "linux-um",
        "list_id": "linux-um.lists.infradead.org",
        "list_email": "linux-um@lists.infradead.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<ac2bdb2a66da1edb24f60d1da1099e2a0b734880.1765963770.git.zhengqi.arch@bytedance.com>",
    "date": "2025-12-17T09:45:48",
    "name": "[v3,7/7] mm: make PT_RECLAIM depends on MMU_GATHER_RCU_TABLE_FREE",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": false,
    "hash": "fa55b12652714cdb5cb8b74cd27916aa55ba012c",
    "submitter": {
        "id": 86678,
        "url": "http://patchwork.ozlabs.org/api/1.0/people/86678/?format=api",
        "name": "Qi Zheng",
        "email": "qi.zheng@linux.dev"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-um/patch/ac2bdb2a66da1edb24f60d1da1099e2a0b734880.1765963770.git.zhengqi.arch@bytedance.com/mbox/",
    "series": [
        {
            "id": 485652,
            "url": "http://patchwork.ozlabs.org/api/1.0/series/485652/?format=api",
            "date": "2025-12-17T09:45:42",
            "name": "enable PT_RECLAIM on all 64-bit architectures",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/485652/mbox/"
        }
    ],
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2175085/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n secure) header.d=lists.infradead.org header.i=@lists.infradead.org\n header.a=rsa-sha256 header.s=bombadil.20210309 header.b=U1NR4Rpa;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256\n header.s=key1 header.b=Pyc1KpvA;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=none (no SPF record) smtp.mailfrom=lists.infradead.org\n (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org;\n envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from bombadil.infradead.org (bombadil.infradead.org\n [IPv6:2607:7c80:54:3::133])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4dWTVh1Zs2z1y0P\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 17 Dec 2025 20:47:40 +1100 (AEDT)",
            "from localhost ([::1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1vVo8A-00000006Szb-2nKD;\n\tWed, 17 Dec 2025 09:47:38 +0000",
            "from out-182.mta1.migadu.com ([95.215.58.182])\n\tby bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1vVo83-00000006Sxx-4Bqd\n\tfor linux-um@lists.infradead.org;\n\tWed, 17 Dec 2025 09:47:37 +0000"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help\n\t:List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding:\n\tMIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:\n\tReply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From:\n\tResent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner;\n\tbh=6yDfSie6tI+R/bkHsg8f30F7brlmJ878+dqsdcToXoQ=; b=U1NR4RpaEYDBMiysGEPVIqtP1v\n\txDvXfI2X5YycVvSa1z53155ENNI+KSKgAyu+Zwszzy4mFNpdeqAoGOQZWb25F+ebey9iUHOmHyGnq\n\ttuXybVB0tgfcFXpNsvxn7SVm6obPVGDPi2zdvIf5Y6J+V6mCkMwR4MQZei/Tv7UVxel8CDNUqaukx\n\t0wOpYucXe/15ObVgyUDrnI5Fz8OCcZva0G+PoT4LeA/Vbhqh34VOC6BGJejQ1uwIwucappAFMhJ6f\n\tgaomjXk9WN2eu+ap6cgNfR9WyLTBQRrMYCkjnCH6tflrrGJUyvnjSQpwbRfS5bQ+BUATvJFR9VEFr\n\tETsEVk+A==;",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1;\n\tt=1765964849;\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=6yDfSie6tI+R/bkHsg8f30F7brlmJ878+dqsdcToXoQ=;\n\tb=Pyc1KpvAxk811HYK04xjZpyTzpEkJYxqqJmPoGGAQiXIyGUCHOz7UnqXrw4Idz7ei3/Hvn\n\tnKx4SWPSfqUG4f91J+BuNBSg1KCzxG0cBAC6q78EOJ3y5AH8vsj9RdwGKsDwh1k/3OGPBu\n\t+BEuL1tluj818rz3TGgaraPxgsFz7Rk="
        ],
        "X-Report-Abuse": "Please report any abuse attempt to abuse@migadu.com and\n include these headers.",
        "From": "Qi Zheng <qi.zheng@linux.dev>",
        "To": "will@kernel.org,\n\taneesh.kumar@kernel.org,\n\tnpiggin@gmail.com,\n\tpeterz@infradead.org,\n\tdev.jain@arm.com,\n\takpm@linux-foundation.org,\n\tdavid@kernel.org,\n\tioworker0@gmail.com,\n\tlinmag7@gmail.com",
        "Cc": "linux-arch@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org,\n\tlinux-mm@kvack.org,\n\tlinux-alpha@vger.kernel.org,\n\tloongarch@lists.linux.dev,\n\tlinux-mips@vger.kernel.org,\n\tlinux-parisc@vger.kernel.org,\n\tlinux-um@lists.infradead.org,\n\tQi Zheng <zhengqi.arch@bytedance.com>",
        "Subject": "[PATCH v3 7/7] mm: make PT_RECLAIM depends on\n MMU_GATHER_RCU_TABLE_FREE",
        "Date": "Wed, 17 Dec 2025 17:45:48 +0800",
        "Message-ID": "\n <ac2bdb2a66da1edb24f60d1da1099e2a0b734880.1765963770.git.zhengqi.arch@bytedance.com>",
        "In-Reply-To": "<cover.1765963770.git.zhengqi.arch@bytedance.com>",
        "References": "<cover.1765963770.git.zhengqi.arch@bytedance.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Migadu-Flow": "FLOW_OUT",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20251217_014736_348192_62F2FAC9 ",
        "X-CRM114-Status": "UNSURE (   9.21  )",
        "X-CRM114-Notice": "Please train this message.",
        "X-Spam-Score": "-2.8 (--)",
        "X-Spam-Report": "Spam detection software,\n running on the system \"bombadil.infradead.org\",\n has NOT identified this incoming email as spam.  The original\n message has been attached to this so you can view it or label\n similar future email.  If you have any questions, see\n the administrator of that system for details.\n Content preview:  From: Qi Zheng <zhengqi.arch@bytedance.com> The PT_RECLAIM\n    can work on all architectures that support MMU_GATHER_RCU_TABLE_FREE, so\n   make PT_RECLAIM depends on MMU_GATHER_RCU_TABLE_FREE. BTW,\n change PT_RECLAIM\n    to be enabled by default, since nobody should want to turn it off.\n Content analysis details:   (-2.8 points, 5.0 required)\n  pts rule name              description\n ---- ----------------------\n --------------------------------------------------\n -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/, low\n                             trust\n                             [95.215.58.182 listed in list.dnswl.org]\n -0.0 SPF_PASS               SPF: sender matches SPF record\n  0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The\n                             query to Validity was blocked.  See\n                             https://knowledge.validity.com/hc/en-us/articles/20961730681243\n                              for more information.\n                          [95.215.58.182 listed in\n sa-trusted.bondedsender.org]\n  0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to\n                              Validity was blocked.  See\n                             https://knowledge.validity.com/hc/en-us/articles/20961730681243\n                              for more information.\n                             [95.215.58.182 listed in sa-accredit.habeas.com]\n -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record\n -0.1 DKIM_VALID_EF          Message has a valid DKIM or DK signature from\n                             envelope-from domain\n -0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from\n author's\n                             domain\n -0.1 DKIM_VALID             Message has at least one valid DKIM or DK\n signature\n  0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n not necessarily valid\n -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n                             [score: 0.0000]\n  0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to\n                              Validity was blocked.  See\n                             https://knowledge.validity.com/hc/en-us/articles/20961730681243\n                              for more information.\n                             [95.215.58.182 listed in\n bl.score.senderscore.com]",
        "X-BeenThere": "linux-um@lists.infradead.org",
        "X-Mailman-Version": "2.1.34",
        "Precedence": "list",
        "List-Id": "<linux-um.lists.infradead.org>",
        "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/linux-um>,\n <mailto:linux-um-request@lists.infradead.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.infradead.org/pipermail/linux-um/>",
        "List-Post": "<mailto:linux-um@lists.infradead.org>",
        "List-Help": "<mailto:linux-um-request@lists.infradead.org?subject=help>",
        "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-um>,\n <mailto:linux-um-request@lists.infradead.org?subject=subscribe>",
        "Sender": "\"linux-um\" <linux-um-bounces@lists.infradead.org>",
        "Errors-To": "linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"
    },
    "content": "From: Qi Zheng <zhengqi.arch@bytedance.com>\n\nThe PT_RECLAIM can work on all architectures that support\nMMU_GATHER_RCU_TABLE_FREE, so make PT_RECLAIM depends on\nMMU_GATHER_RCU_TABLE_FREE.\n\nBTW, change PT_RECLAIM to be enabled by default, since nobody should want\nto turn it off.\n\nSigned-off-by: Qi Zheng <zhengqi.arch@bytedance.com>\n---\n arch/x86/Kconfig | 1 -\n mm/Kconfig       | 9 ++-------\n 2 files changed, 2 insertions(+), 8 deletions(-)",
    "diff": "diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig\nindex 80527299f859a..0d22da56a71b0 100644\n--- a/arch/x86/Kconfig\n+++ b/arch/x86/Kconfig\n@@ -331,7 +331,6 @@ config X86\n \tselect FUNCTION_ALIGNMENT_4B\n \timply IMA_SECURE_AND_OR_TRUSTED_BOOT    if EFI\n \tselect HAVE_DYNAMIC_FTRACE_NO_PATCHABLE\n-\tselect ARCH_SUPPORTS_PT_RECLAIM\t\tif X86_64\n \tselect ARCH_SUPPORTS_SCHED_SMT\t\tif SMP\n \tselect SCHED_SMT\t\t\tif SMP\n \tselect ARCH_SUPPORTS_SCHED_CLUSTER\tif SMP\ndiff --git a/mm/Kconfig b/mm/Kconfig\nindex bd0ea5454af82..fc00b429b7129 100644\n--- a/mm/Kconfig\n+++ b/mm/Kconfig\n@@ -1447,14 +1447,9 @@ config ARCH_HAS_USER_SHADOW_STACK\n \t  The architecture has hardware support for userspace shadow call\n           stacks (eg, x86 CET, arm64 GCS or RISC-V Zicfiss).\n \n-config ARCH_SUPPORTS_PT_RECLAIM\n-\tdef_bool n\n-\n config PT_RECLAIM\n-\tbool \"reclaim empty user page table pages\"\n-\tdefault y\n-\tdepends on ARCH_SUPPORTS_PT_RECLAIM && MMU && SMP\n-\tselect MMU_GATHER_RCU_TABLE_FREE\n+\tdef_bool y\n+\tdepends on MMU_GATHER_RCU_TABLE_FREE\n \thelp\n \t  Try to reclaim empty user page table pages in paths other than munmap\n \t  and exit_mmap path.\n",
    "prefixes": [
        "v3",
        "7/7"
    ]
}