get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2219937,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2219937/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20260405125240.2558577-13-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-13-songmuchun@bytedance.com>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20260405125240.2558577-13-songmuchun@bytedance.com/",
    "date": "2026-04-05T12:52:03",
    "name": "[12/49] mm: make set_pageblock_order() static",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "13eb711aea55857fc1b72cce2e7e5d395429c674",
    "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-13-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/2219937/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2219937/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linuxppc-dev+bounces-19342-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=MFZccp+H;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org\n (client-ip=112.213.38.117; helo=lists.ozlabs.org;\n envelope-from=linuxppc-dev+bounces-19342-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::1035\"",
            "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=MFZccp+H;\n\tdkim-atps=neutral",
            "lists.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=bytedance.com\n (client-ip=2607:f8b0:4864:20::1035; helo=mail-pj1-x1035.google.com;\n envelope-from=songmuchun@bytedance.com; receiver=lists.ozlabs.org)"
        ],
        "Received": [
            "from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117])\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 4fpXVL2ppDz1yCs\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 05 Apr 2026 22:54:50 +1000 (AEST)",
            "from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4fpXVD6XV6z2yqf;\n\tSun, 05 Apr 2026 22:54:44 +1000 (AEST)",
            "from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com\n [IPv6:2607:f8b0:4864:20::1035])\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 4fpXVD0sXSz2yjs\n\tfor <linuxppc-dev@lists.ozlabs.org>; Sun, 05 Apr 2026 22:54:44 +1000 (AEST)",
            "by mail-pj1-x1035.google.com with SMTP id\n 98e67ed59e1d1-35d9749c26dso2357730a91.2\n        for <linuxppc-dev@lists.ozlabs.org>;\n Sun, 05 Apr 2026 05:54:44 -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.35\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Sun, 05 Apr 2026 05:54:41 -0700 (PDT)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1775393684;\n\tcv=none;\n b=Whe5UgGYF0UIpUaM9tzEWe8/t2yRmUUqRL/qoaZSS7SuJZBs51oNfSMP+UMXgMqJ4tnwN0uCkNoQMxI3ajSs5CJNGJhhaJRYFPyPl9ul1qpzgGzXilS71K9UtpsiT0MJYQrn2Ur9T+3nGb1F4dBeZVnJ66NyCaOuS9t7TKnz+9ynbJOE3SDs0OLHKMydjIWta8W7t6Lv0uGKP9mb2o2eFzsZItldZx2qGry+yXtGYOwULuAKsPtrGPo+jATMkjqMb8KBy478kVPt1gqnSDSU5x6jmhtfk3TUertGo17YR5RPHEY3pM4ign9fMW45eoL/cC1EigKjeoDYfAbX35q9QQ==",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1775393684; c=relaxed/relaxed;\n\tbh=CpeyP/gKGQ3cmNpd3odA7JDcSLupYRRYiiUQtcwUonQ=;\n\th=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:\n\t MIME-Version;\n b=e0CWYgdp0XLP9smmkZRryV5TXkq4rHhrz9QR9L2LFEWEEswzvTrnJQL91QkZl4IfaRzXd0bblZKmZ+GoHAaijxVYKoegLswg7/wgUWfi08FcbRTpsA41JGx1x1SwvRN4dndj/NCBYvZ9XQPRs5RGQZ+v+4g+Zn5DlOMu6xkTLJx5ZGHDtiRNn4DsZyVRXVnhFBCNGmbabgzTQ3i+TH+FgWxuy/UKWoMBMG1srF5o507WXJzP4Pq1cdUxH7/QJtRe0S7I57QrJTIdQsO7FgHHRhgX3vtbkqBhdMY5AdQ4IQKc8tKK9TPL4PQvqUS9iOselIubZ0ltkWiHd3W6XTgMrw==",
        "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=MFZccp+H; dkim-atps=neutral;\n spf=pass (client-ip=2607:f8b0:4864:20::1035; helo=mail-pj1-x1035.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=1775393682; x=1775998482;\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=CpeyP/gKGQ3cmNpd3odA7JDcSLupYRRYiiUQtcwUonQ=;\n        b=MFZccp+HARwOPTMWDfU0otvcnHLxm46+foQ9KjvWUBD6tZK8G5L1pHNlGUYeJSCzAF\n         YnZ7MCeqB49GLTTq8ddRlknxbsCCOX6qtgdpcKPYdCuRZUpdR9DXI0f6qkbM1nlN2DxC\n         CXez3cn50AbjTcg2V1DqbJdCmJch78vNo42wkTVgRQdB5ha8fY9SNvBrB6v9hF0x0Rwm\n         0UGyEGKWsEecIp5XsHwdcSMFgXasva7pKFYenr2CbwvL998ZSc22thSr74jUiDgHzQQw\n         NiaxUzFiXHM0CeToL0ACWszp0M1JjyGtTUfhL2o1I3WKjjDpqBJZo0FbwUNYYeKfmQ7h\n         wL1g==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1775393682; x=1775998482;\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=CpeyP/gKGQ3cmNpd3odA7JDcSLupYRRYiiUQtcwUonQ=;\n        b=R056MeAmW1cidAL+YEoF/B+7jFc67JJJvUS2mcJh3AAOLiyf8BQfxMTOUj/X9FMOCP\n         ld/SekKa6XCH/1GXRX1hTJRVRd8SMDjnWCP9yv531eHcvp53cOUyiG4AVG2xvPcAEvKq\n         dChBl1kgcdFWFc6zzzLg88gsST2gAqVcPSBiUsgIDf5CFW1JWbLpZ6p0prbDGaTtExdb\n         szuhr55+tCZI0DU6VtKIgVcRbArGKYCFAu0SAU/IwPHILQ3vFcYnd4E/nWdMe72hE3PP\n         BqnHK7Ew5fX0nIi8pUxSLQ5OHtZncAlnr8C9kZWS5Bse4CZjQ+5ilsGBpiAhjCy0Co1/\n         Kqug==",
        "X-Forwarded-Encrypted": "i=1;\n AJvYcCW0R5MBo554Z8ZWLboohgj8DXWWh9IhRjSuKjht0Hf7g750vRhP1+/dEenUf83iYY4g5AUIwUOM1kLQ+BU=@lists.ozlabs.org",
        "X-Gm-Message-State": "AOJu0Yyw6uc4717sTvrehwxlvLamFJ+B+bQueGzABvqjm7ElkwDliOOu\n\tFq33nqmndUrvmVdtMIRWGy3vFlo0cje2CN+jSVm/anedjSqXP3QXLE+2RbM1jOZHb6A=",
        "X-Gm-Gg": "AeBDieugXnWSrAlIcg660BXrId6doTK1Y6nc2+R3/FyB7rBTacS2WRpT9UUPbfCtwsP\n\tmr52ZGohw1IOVHpDcQMByQIFCJX8H4zwvekmdr8KN/BNcU+pZ+8B0t4Zp2Ox5nMtd/NrA0ySl/A\n\ty/IonEIrjOVbQNHCmagYeqVsMAgKmwDH0Hie24w02b4CMHf3C4Xbpfx/pPyIlpyhvm32voL92dJ\n\txQZ2pzJB9QJnJb4zbpTBBU1Ev6wvLVX1CfAba3MpGcYP71/vPQMY8IOS9L94c1gyMR8D6RfDznj\n\tHaFBvlWXE2gy/EYEpjx63Bmg00oCFKcibOPdS39XJ9iP2UpsgZxUdAdZM40CL5eOn4dPSfYEUbi\n\tnNwAFGZtFXVOSlauESZNEzvVWWn9ZG3R4/Tnc0JkxzTiDUAFFl/JY8Vh3MUuyh7VOo3qQBZv7mQ\n\tnYq+Bom4egx7n054fXK1USQeuUdvEJE5jMhKl0t27nY2g=",
        "X-Received": "by 2002:a17:90b:5583:b0:35c:d98:d684 with SMTP id\n 98e67ed59e1d1-35de67da865mr8258899a91.6.1775393682300;\n        Sun, 05 Apr 2026 05:54:42 -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 12/49] mm: make set_pageblock_order() static",
        "Date": "Sun,  5 Apr 2026 20:52:03 +0800",
        "Message-Id": "<20260405125240.2558577-13-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": "Since set_pageblock_order() is only used in mm/mm_init.c now, make it\nstatic and remove its declaration from mm/internal.h.\n\nSigned-off-by: Muchun Song <songmuchun@bytedance.com>\n---\n mm/internal.h | 1 -\n mm/mm_init.c  | 4 ++--\n 2 files changed, 2 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/mm/internal.h b/mm/internal.h\nindex d70075d0e788..8232084f0c5e 100644\n--- a/mm/internal.h\n+++ b/mm/internal.h\n@@ -1437,7 +1437,6 @@ extern unsigned long  __must_check vm_mmap_pgoff(struct file *, unsigned long,\n         unsigned long, unsigned long,\n         unsigned long, unsigned long);\n \n-extern void set_pageblock_order(void);\n unsigned long reclaim_pages(struct list_head *folio_list);\n unsigned int reclaim_clean_pages_from_list(struct zone *zone,\n \t\t\t\t\t    struct list_head *folio_list);\ndiff --git a/mm/mm_init.c b/mm/mm_init.c\nindex 72604d02a853..64363f35ad0d 100644\n--- a/mm/mm_init.c\n+++ b/mm/mm_init.c\n@@ -1489,7 +1489,7 @@ static inline void setup_usemap(struct zone *zone) {}\n #ifdef CONFIG_HUGETLB_PAGE_SIZE_VARIABLE\n \n /* Initialise the number of pages represented by NR_PAGEBLOCK_BITS */\n-void __init set_pageblock_order(void)\n+static void __init set_pageblock_order(void)\n {\n \tunsigned int order = PAGE_BLOCK_MAX_ORDER;\n \n@@ -1515,7 +1515,7 @@ void __init set_pageblock_order(void)\n  * include/linux/pageblock-flags.h for the values of pageblock_order based on\n  * the kernel config\n  */\n-void __init set_pageblock_order(void)\n+static inline void __init set_pageblock_order(void)\n {\n }\n \n",
    "prefixes": [
        "12/49"
    ]
}