get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2219938,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2219938/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20260405125240.2558577-14-songmuchun@bytedance.com/",
    "project": {
        "id": 2,
        "url": "http://patchwork.ozlabs.org/api/1.2/projects/2/?format=api",
        "name": "Linux PPC development",
        "link_name": "linuxppc-dev",
        "list_id": "linuxppc-dev.lists.ozlabs.org",
        "list_email": "linuxppc-dev@lists.ozlabs.org",
        "web_url": "https://github.com/linuxppc/wiki/wiki",
        "scm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git",
        "webscm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/",
        "list_archive_url": "https://lore.kernel.org/linuxppc-dev/",
        "list_archive_url_format": "https://lore.kernel.org/linuxppc-dev/{}/",
        "commit_url_format": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}"
    },
    "msgid": "<20260405125240.2558577-14-songmuchun@bytedance.com>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20260405125240.2558577-14-songmuchun@bytedance.com/",
    "date": "2026-04-05T12:52:04",
    "name": "[13/49] mm: integrate sparse_vmemmap_init_nid_late() into sparse_init_nid()",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "34dddb3aaba74fa4496d9e2c377d24c489264174",
    "submitter": {
        "id": 78930,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/78930/?format=api",
        "name": "Muchun Song",
        "email": "songmuchun@bytedance.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20260405125240.2558577-14-songmuchun@bytedance.com/mbox/",
    "series": [
        {
            "id": 498783,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/498783/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=498783",
            "date": "2026-04-05T12:51:51",
            "name": "mm: Generalize vmemmap optimization for DAX and HugeTLB",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/498783/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2219938/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2219938/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linuxppc-dev+bounces-19343-incoming=patchwork.ozlabs.org@lists.ozlabs.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linuxppc-dev@lists.ozlabs.org"
        ],
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=bytedance.com header.i=@bytedance.com\n header.a=rsa-sha256 header.s=google header.b=Ar1A4Yy7;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org\n (client-ip=2404:9400:21b9:f100::1; helo=lists.ozlabs.org;\n envelope-from=linuxppc-dev+bounces-19343-incoming=patchwork.ozlabs.org@lists.ozlabs.org;\n receiver=patchwork.ozlabs.org)",
            "lists.ozlabs.org;\n arc=none smtp.remote-ip=\"2607:f8b0:4864:20::1030\"",
            "lists.ozlabs.org;\n dmarc=pass (p=quarantine dis=none) header.from=bytedance.com",
            "lists.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=bytedance.com header.i=@bytedance.com\n header.a=rsa-sha256 header.s=google header.b=Ar1A4Yy7;\n\tdkim-atps=neutral",
            "lists.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=bytedance.com\n (client-ip=2607:f8b0:4864:20::1030; helo=mail-pj1-x1030.google.com;\n envelope-from=songmuchun@bytedance.com; receiver=lists.ozlabs.org)"
        ],
        "Received": [
            "from lists.ozlabs.org (lists.ozlabs.org\n [IPv6:2404:9400:21b9:f100::1])\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 4fpXVT3XHrz1yCs\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 05 Apr 2026 22:54:57 +1000 (AEST)",
            "from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4fpXVL6jVVz2yqt;\n\tSun, 05 Apr 2026 22:54:50 +1000 (AEST)",
            "from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com\n [IPv6:2607:f8b0:4864:20::1030])\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 lists.ozlabs.org (Postfix) with ESMTPS id 4fpXVL0xLWz2yjs\n\tfor <linuxppc-dev@lists.ozlabs.org>; Sun, 05 Apr 2026 22:54:50 +1000 (AEST)",
            "by mail-pj1-x1030.google.com with SMTP id\n 98e67ed59e1d1-3590042fa8eso2190911a91.1\n        for <linuxppc-dev@lists.ozlabs.org>;\n Sun, 05 Apr 2026 05:54:50 -0700 (PDT)",
            "from n232-176-004.byted.org ([36.110.163.97])\n        by smtp.gmail.com with ESMTPSA id\n 98e67ed59e1d1-35de66b4808sm3748505a91.2.2026.04.05.05.54.42\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Sun, 05 Apr 2026 05:54:47 -0700 (PDT)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1775393690;\n\tcv=none;\n b=WXxzQsCAzuhIGiB2jJtAeulNaNTG3Z1FGeSPLL1QuIhSnIgy4oxXaG/YrDA6sNNoHucqLTCwVh/f1b3yEVBau2oKpsGC06I4RV1DKrtILFgv/veY8TXnxx+f1yr5Mmt9C9R2PC46M7oE/xvzO1vvaLje3cLx8qpnzIMZ8N+BCknoe6Gr9uvVw0/su2sTNIIbuagZR2b8jVlfrribSdUJHO9mQj2TCAkmDiXwnZwYFoVLb5PbSmQXIDEXaz/vIvHUH3FXfC+MFGc0s1hfS9GwDoxQBL5L0Nqq5mSIWV9+iyBHtc6TdEusp5nUX4lOB9uP6e7p/dYZm325/OXzZhImVA==",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1775393690; c=relaxed/relaxed;\n\tbh=HEw5DKlzSRjrYp6HmZ+C9u13Pw0NEEG+M3MgilG+TeA=;\n\th=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:\n\t MIME-Version;\n b=dWkXpk3JmA2T319GWJ92OF+yflPUJINzzevptmEfk3wXgD6saMnzipFohz7NhEqN4XZCsJAgb50cw6UrJBAk2wY5690gc1On2On7jgW5N1u9HaI6Sa03ugP9ycaLODoFovneE3beLz6onHtkk6ByJUB1jhIXmMqyDgMBXm84ihSkec4334d9o/D3ui6BwoIxu1fRKUeDcFwANsUgouaiMThBQK64+RCYGhaLtCSgu+esqdxj1dRhyWqGO+3ZcXnDskLP5kJAe1gSdUHliq6DWoR9ALJ2qiNtpxVVonym2YlBkmjQsIJ4vgBaBZttYHvStgVejEMj7CDxaN1O4CslxQ==",
        "ARC-Authentication-Results": "i=1; lists.ozlabs.org;\n dmarc=pass (p=quarantine dis=none) header.from=bytedance.com;\n dkim=pass (2048-bit key;\n unprotected) header.d=bytedance.com header.i=@bytedance.com\n header.a=rsa-sha256 header.s=google header.b=Ar1A4Yy7; dkim-atps=neutral;\n spf=pass (client-ip=2607:f8b0:4864:20::1030; helo=mail-pj1-x1030.google.com;\n envelope-from=songmuchun@bytedance.com;\n receiver=lists.ozlabs.org) smtp.mailfrom=bytedance.com",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=bytedance.com; s=google; t=1775393688; x=1775998488;\n darn=lists.ozlabs.org;\n        h=content-transfer-encoding:mime-version:references:in-reply-to\n         :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n         :message-id:reply-to;\n        bh=HEw5DKlzSRjrYp6HmZ+C9u13Pw0NEEG+M3MgilG+TeA=;\n        b=Ar1A4Yy7VPdjeeI/3G5CFD+cDo8lUZAOBNOEy7zXkKMuBzGFDHmJrnU9SsVe9Ey7XI\n         3imQpHJIvVMl/K/sQo5F4yoM8MeU/aGpskczml1WhbSqHZjWYKADamOAX7r81sfL/M8G\n         8FCOcYk441pkO+orouGtsZISmOw0q5hwlyrsiDsFMA0F2AUp6UOk6kbJay6VjvBdMZzO\n         l7nM+F5SWKa/l93hMfAbPzaEkTIfwdTY6U9n/WRJqe+5rSCqYBs9+khXoebpIvu1AdPh\n         5/soarS2q7bXsPKYXuYc1fcKK4+zFfisBnYEqUsZUej/+GKFmS1g5vR/lf1qVxW6SBIA\n         Iu4g==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1775393688; x=1775998488;\n        h=content-transfer-encoding:mime-version:references:in-reply-to\n         :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n         :to:cc:subject:date:message-id:reply-to;\n        bh=HEw5DKlzSRjrYp6HmZ+C9u13Pw0NEEG+M3MgilG+TeA=;\n        b=tRmBdBTFGgp7zCXRlAB5EtQ7k1BBkPkNgdB60JiHkju41qqqfxenOYEWlNX3haWxei\n         CQz6qYUXzhxsC5t3AF1W7txIZhbIiVAELYReoztXwD2BaI9kJnFTCHqQ2JpgYbsylNqd\n         KJ/us2HRxBHy6/oeLjxta6Bn8xe5SCYNXxcqIjlzHO2rdW3c2EHRn/PumzJr75g/ar5j\n         kkfDrXwmq4lHHaqJIUwdhBHOi5lokIL28eEibeZFy1ShpxvA8+g2ow45SzBkCx/81LoM\n         2zaVU0SCQYCRrDquLN02AT7iF0+RFp3BAo3dOGII/AGr6XJNXIl5Mi4CfVyKV4sSX3lY\n         sNTA==",
        "X-Forwarded-Encrypted": "i=1;\n AJvYcCVztS5T/CeIuzaJzZ1TqX82YuYi7rb1xnXXDlDFBTPAQNP7xqgxLbvPdDXVDzbsWvTLE5pr8DSusZWI/C4=@lists.ozlabs.org",
        "X-Gm-Message-State": "AOJu0Yxg76dw1aOg+DlQTMhPgwgbC1ycL98fHqpfd3uGJ577DKKbL3TU\n\tGZ5tNbjDdLscII8rlYcUOglYmFcxmxgzSw6yBRe2yoWPj3jN2PV5M1IoLqPADu+ZxSc=",
        "X-Gm-Gg": "AeBDiev7g7VPQFIvy+3pwE5T2nUrUWbCDt/mtp1kcbFYeAqq9FyPNh21O4T7PxWcdBb\n\tG0KbHA/gz1VlLKGgl0TRZAKNpsL1y9PrtMi1SbG749hLkBbXEERt4XInxdzeNCgDHSClVXbCymO\n\tGVCRtp7x2U/+8jKYD7lJrescQCP+1qvi2vJnto5SVh5r21jsLQBELX+U3LDEpBb4/MxXWK2OwSG\n\t/Vy3L3Lo33vovCbZ7CZK2zTaRAUXugO1qsL/+MYx91U2CmqkqSq0t5vbhLJZSvh9r8CY3qXUjhb\n\twJwsaylAEXGcxVbbx0zzxbR/41LGtNaENyLaWSCFV1OvDrUtlNmRkizaglRK7GFI6+ZzBUDv1tO\n\tEDXHxSusHRWu8VD+R3IXBYRzpQ6NoKDMBXOreZaEI5e76UQhIEVpKJUuCJv9oS1+8jC88i52hQ7\n\tnVxSJHyzH7VzcE5HOd3Xh/zQyhPMDe77WCm9mLHDzW+Qo=",
        "X-Received": "by 2002:a17:90b:4cca:b0:35c:29ba:bf92 with SMTP id\n 98e67ed59e1d1-35de6811cedmr8847254a91.5.1775393688240;\n        Sun, 05 Apr 2026 05:54:48 -0700 (PDT)",
        "From": "Muchun Song <songmuchun@bytedance.com>",
        "To": "Andrew Morton <akpm@linux-foundation.org>,\n\tDavid Hildenbrand <david@kernel.org>,\n\tMuchun Song <muchun.song@linux.dev>,\n\tOscar Salvador <osalvador@suse.de>,\n\tMichael Ellerman <mpe@ellerman.id.au>,\n\tMadhavan Srinivasan <maddy@linux.ibm.com>",
        "Cc": "Lorenzo Stoakes <ljs@kernel.org>,\n\t\"Liam R . Howlett\" <Liam.Howlett@oracle.com>,\n\tVlastimil Babka <vbabka@kernel.org>,\n\tMike Rapoport <rppt@kernel.org>,\n\tSuren Baghdasaryan <surenb@google.com>,\n\tMichal Hocko <mhocko@suse.com>,\n\tNicholas Piggin <npiggin@gmail.com>,\n\tChristophe Leroy <chleroy@kernel.org>,\n\taneesh.kumar@linux.ibm.com,\n\tjoao.m.martins@oracle.com,\n\tlinux-mm@kvack.org,\n\tlinuxppc-dev@lists.ozlabs.org,\n\tlinux-kernel@vger.kernel.org,\n\tMuchun Song <songmuchun@bytedance.com>",
        "Subject": "[PATCH 13/49] mm: integrate sparse_vmemmap_init_nid_late() into\n sparse_init_nid()",
        "Date": "Sun,  5 Apr 2026 20:52:04 +0800",
        "Message-Id": "<20260405125240.2558577-14-songmuchun@bytedance.com>",
        "X-Mailer": "git-send-email 2.20.1",
        "In-Reply-To": "<20260405125240.2558577-1-songmuchun@bytedance.com>",
        "References": "<20260405125240.2558577-1-songmuchun@bytedance.com>",
        "X-Mailing-List": "linuxppc-dev@lists.ozlabs.org",
        "List-Id": "<linuxppc-dev.lists.ozlabs.org>",
        "List-Help": "<mailto:linuxppc-dev+help@lists.ozlabs.org>",
        "List-Owner": "<mailto:linuxppc-dev+owner@lists.ozlabs.org>",
        "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>",
        "List-Archive": "<https://lore.kernel.org/linuxppc-dev/>,\n  <https://lists.ozlabs.org/pipermail/linuxppc-dev/>",
        "List-Subscribe": "<mailto:linuxppc-dev+subscribe@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-digest@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-nomail@lists.ozlabs.org>",
        "List-Unsubscribe": "<mailto:linuxppc-dev+unsubscribe@lists.ozlabs.org>",
        "Precedence": "list",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Spam-Status": "No, score=-0.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID,\n\tDKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS\n\tautolearn=disabled version=4.0.1 OzLabs 8",
        "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on lists.ozlabs.org"
    },
    "content": "Move the call to sparse_vmemmap_init_nid_late() from mm_core_init_early()\ninto sparse_init_nid().\n\nSince sparse_init() has been deferred until after zone initialization,\nthe zone data structures are now available during sparse_init(). This\nsatisfies the requirements of sparse_vmemmap_init_nid_late(), allowing\nit to be moved safely.\n\nThis change unifies the vmemmap initialization steps by placing both\nsparse_vmemmap_init_nid_early() and sparse_vmemmap_init_nid_late()\nwithin the sparse memory initialization logic, making the code structure\nclearer.\n\nSigned-off-by: Muchun Song <songmuchun@bytedance.com>\n---\n mm/mm_init.c | 4 ----\n mm/sparse.c  | 2 ++\n 2 files changed, 2 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/mm/mm_init.c b/mm/mm_init.c\nindex 64363f35ad0d..7a710fcbe3c8 100644\n--- a/mm/mm_init.c\n+++ b/mm/mm_init.c\n@@ -2664,15 +2664,11 @@ void __init __weak mem_init(void)\n \n void __init mm_core_init_early(void)\n {\n-\tint nid;\n-\n \tfree_area_init();\n \t/* Zone data structures are available from here. */\n \thugetlb_cma_reserve();\n \thugetlb_bootmem_alloc();\n \tsparse_init();\n-\tfor_each_node_state(nid, N_MEMORY)\n-\t\tsparse_vmemmap_init_nid_late(nid);\n \tmemmap_init();\n }\n \ndiff --git a/mm/sparse.c b/mm/sparse.c\nindex 5fe0a7e66775..d940b973df66 100644\n--- a/mm/sparse.c\n+++ b/mm/sparse.c\n@@ -383,6 +383,8 @@ static void __init sparse_init_nid(int nid, unsigned long pnum_begin,\n \t}\n \tsparse_usage_fini();\n \tsparse_buffer_fini();\n+\n+\tsparse_vmemmap_init_nid_late(nid);\n }\n \n /*\n",
    "prefixes": [
        "13/49"
    ]
}