get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2175083,
    "url": "http://patchwork.ozlabs.org/api/1.0/patches/2175083/?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": "<e0445acf2c267f060e888a090cdd94cbf7f52dd3.1765963770.git.zhengqi.arch@bytedance.com>",
    "date": "2025-12-17T09:45:46",
    "name": "[v3,5/7] parisc: mm: enable MMU_GATHER_RCU_TABLE_FREE",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": false,
    "hash": "46074f4c7f87c2a568ff62cae9356b329c9f1ccd",
    "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/e0445acf2c267f060e888a090cdd94cbf7f52dd3.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/2175083/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=i4hEiXPP;\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=e8o1H7ID;\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 4dWTVQ582Vz1y0P\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 17 Dec 2025 20:47:26 +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 1vVo7x-00000006SwM-0lxo;\n\tWed, 17 Dec 2025 09:47:25 +0000",
            "from out-186.mta1.migadu.com ([2001:41d0:203:375::ba])\n\tby bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1vVo7u-00000006Sv6-1l9q\n\tfor linux-um@lists.infradead.org;\n\tWed, 17 Dec 2025 09:47:24 +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=8PNYJl+4luznSu7Qs41hn6BnOWw9fSYJ1f3qY5qKkjU=; b=i4hEiXPPHtoBb6lRmBwUFvvv1C\n\tJAhi+ZnEXXWlAitT/aRiyJ6NUoUcFk0F3R7VuNN/McrREJdw+MmVqYdJIZB0GQHvtmoAF71iTTvXb\n\tqOzDPpQCvucLdA6JIzuXvYk+xXMF+N5qi5DWmXcKXidEEhyokU6kK6o0kY8yk3l9jjr/i8E5m72Gb\n\tN8dOcX9x2ykrYJSjsX9XNAx7/ynCZ2HsCsY9agtsxAzfTghVhAdenxh/nCPgTEFD9SlEQzaAGBM3n\n\tT7r1Vzzd4Pa4eXzYofNw9FdNj/cNuAhw2pQEbCH3aEBjXvfmylTeAKVaRYGVL22XGtLyO/h2oxFCa\n\t7lUd74hw==;",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1;\n\tt=1765964839;\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=8PNYJl+4luznSu7Qs41hn6BnOWw9fSYJ1f3qY5qKkjU=;\n\tb=e8o1H7ID6IwrR/gVd0NtVTo7ZEz4HV3uPypab1CIVzcnpIVs9atrTDUBpW98/QwFghrEEU\n\t5EBqavpncMavIyi2v23cOld40E9HERpVgTZ7omWcpU1XjKqMpN362CMM8Wv9Hk0+oQtTKQ\n\toRI/0dVJv/IYhli7SUrb7JHZnJy6tHc="
        ],
        "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>,\n\t\"James E.J. Bottomley\" <James.Bottomley@HansenPartnership.com>,\n\tHelge Deller <deller@gmx.de>",
        "Subject": "[PATCH v3 5/7] parisc: mm: enable MMU_GATHER_RCU_TABLE_FREE",
        "Date": "Wed, 17 Dec 2025 17:45:46 +0800",
        "Message-ID": "\n <e0445acf2c267f060e888a090cdd94cbf7f52dd3.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_014722_601193_697FB8F9 ",
        "X-CRM114-Status": "UNSURE (   7.63  )",
        "X-CRM114-Notice": "Please train this message.",
        "X-Spam-Score": "-2.1 (--)",
        "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> On a 64-bit\n system,\n    madvise(MADV_DONTNEED) may cause a large number of empty PTE page table\n pages\n    (such as 100GB+). To resolve this problem,\n first enable MMU_GATHER_RCU_TABLE_FREE\n    to prepare for enabl [...]\n Content analysis details:   (-2.1 points, 5.0 required)\n  pts rule name              description\n ---- ----------------------\n --------------------------------------------------\n -0.0 SPF_PASS               SPF: sender matches SPF record\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]",
        "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\nOn a 64-bit system, madvise(MADV_DONTNEED) may cause a large number of\nempty PTE page table pages (such as 100GB+). To resolve this problem,\nfirst enable MMU_GATHER_RCU_TABLE_FREE to prepare for enabling the\nPT_RECLAIM feature, which resolves this problem.\n\nSigned-off-by: Qi Zheng <zhengqi.arch@bytedance.com>\nCc: \"James E.J. Bottomley\" <James.Bottomley@HansenPartnership.com>\nCc: Helge Deller <deller@gmx.de>\n---\n arch/parisc/Kconfig           | 1 +\n arch/parisc/include/asm/tlb.h | 4 ++--\n 2 files changed, 3 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig\nindex 47fd9662d8005..62d5a89d5c7bc 100644\n--- a/arch/parisc/Kconfig\n+++ b/arch/parisc/Kconfig\n@@ -79,6 +79,7 @@ config PARISC\n \tselect GENERIC_CLOCKEVENTS\n \tselect CPU_NO_EFFICIENT_FFS\n \tselect THREAD_INFO_IN_TASK\n+\tselect MMU_GATHER_RCU_TABLE_FREE\n \tselect NEED_DMA_MAP_STATE\n \tselect NEED_SG_DMA_LENGTH\n \tselect HAVE_ARCH_KGDB\ndiff --git a/arch/parisc/include/asm/tlb.h b/arch/parisc/include/asm/tlb.h\nindex 44235f367674d..4501fee0a8fa4 100644\n--- a/arch/parisc/include/asm/tlb.h\n+++ b/arch/parisc/include/asm/tlb.h\n@@ -5,8 +5,8 @@\n #include <asm-generic/tlb.h>\n \n #if CONFIG_PGTABLE_LEVELS == 3\n-#define __pmd_free_tlb(tlb, pmd, addr)\tpmd_free((tlb)->mm, pmd)\n+#define __pmd_free_tlb(tlb, pmd, addr)\ttlb_remove_ptdesc((tlb), virt_to_ptdesc(pmd))\n #endif\n-#define __pte_free_tlb(tlb, pte, addr)\tpte_free((tlb)->mm, pte)\n+#define __pte_free_tlb(tlb, pte, addr)\ttlb_remove_ptdesc((tlb), page_ptdesc(pte))\n \n #endif\n",
    "prefixes": [
        "v3",
        "5/7"
    ]
}