get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2217459,
    "url": "http://patchwork.ozlabs.org/api/patches/2217459/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/ltp/patch/20260329113252.204926-1-pavrampu@linux.ibm.com/",
    "project": {
        "id": 59,
        "url": "http://patchwork.ozlabs.org/api/projects/59/?format=api",
        "name": "Linux Test Project development",
        "link_name": "ltp",
        "list_id": "ltp.lists.linux.it",
        "list_email": "ltp@lists.linux.it",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260329113252.204926-1-pavrampu@linux.ibm.com>",
    "list_archive_url": null,
    "date": "2026-03-29T11:32:52",
    "name": "Fix memcontrol02 test failure on powerpc.",
    "commit_ref": null,
    "pull_url": null,
    "state": "under-review",
    "archived": false,
    "hash": "1904bc29c5550e97493cb88cc37fe3201c680508",
    "submitter": {
        "id": 91766,
        "url": "http://patchwork.ozlabs.org/api/people/91766/?format=api",
        "name": "Pavithra",
        "email": "pavrampu@linux.ibm.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/ltp/patch/20260329113252.204926-1-pavrampu@linux.ibm.com/mbox/",
    "series": [
        {
            "id": 497914,
            "url": "http://patchwork.ozlabs.org/api/series/497914/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/ltp/list/?series=497914",
            "date": "2026-03-29T11:32:52",
            "name": "Fix memcontrol02 test failure on powerpc.",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/497914/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2217459/comments/",
    "check": "success",
    "checks": "http://patchwork.ozlabs.org/api/patches/2217459/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "ltp@lists.linux.it"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "ltp@picard.linux.it"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256\n header.s=pp1 header.b=XTfFupsk;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it\n (client-ip=2001:1418:10:5::2; helo=picard.linux.it;\n envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from picard.linux.it (picard.linux.it [IPv6:2001:1418:10:5::2])\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 4fkC1X4K4nz1xtJ\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 29 Mar 2026 22:33:18 +1100 (AEDT)",
            "from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id B58143E1C93\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 29 Mar 2026 13:33:07 +0200 (CEST)",
            "from in-3.smtp.seeweb.it (in-3.smtp.seeweb.it [217.194.8.3])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature ECDSA (secp384r1))\n (No client certificate requested)\n by picard.linux.it (Postfix) with ESMTPS id 35F323C6FD7\n for <ltp@lists.linux.it>; Sun, 29 Mar 2026 13:33:03 +0200 (CEST)",
            "from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com\n [148.163.158.5])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by in-3.smtp.seeweb.it (Postfix) with ESMTPS id 346321A00147\n for <ltp@lists.linux.it>; Sun, 29 Mar 2026 13:33:02 +0200 (CEST)",
            "from pps.filterd (m0353725.ppops.net [127.0.0.1])\n by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 62T8t3t02786047\n for <ltp@lists.linux.it>; Sun, 29 Mar 2026 11:33:00 GMT",
            "from ppma13.dal12v.mail.ibm.com\n (dd.9e.1632.ip4.static.sl-reverse.com [50.22.158.221])\n by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4d65dc37ew-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)\n for <ltp@lists.linux.it>; Sun, 29 Mar 2026 11:33:00 +0000 (GMT)",
            "from pps.filterd (ppma13.dal12v.mail.ibm.com [127.0.0.1])\n by ppma13.dal12v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id\n 62TAF8i1031034\n for <ltp@lists.linux.it>; Sun, 29 Mar 2026 11:33:00 GMT",
            "from smtprelay02.fra02v.mail.ibm.com ([9.218.2.226])\n by ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 4d6uhjh119-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)\n for <ltp@lists.linux.it>; Sun, 29 Mar 2026 11:32:59 +0000",
            "from smtpav02.fra02v.mail.ibm.com (smtpav02.fra02v.mail.ibm.com\n [10.20.54.101])\n by smtprelay02.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id\n 62TBWuW744761382\n (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);\n Sun, 29 Mar 2026 11:32:56 GMT",
            "from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id 2EE8620043;\n Sun, 29 Mar 2026 11:32:56 +0000 (GMT)",
            "from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id 73A8720040;\n Sun, 29 Mar 2026 11:32:55 +0000 (GMT)",
            "from li-49acbccc-2994-11b2-a85c-d51b89e344f1.ibm.com.com (unknown\n [9.124.209.6]) by smtpav02.fra02v.mail.ibm.com (Postfix) with ESMTP;\n Sun, 29 Mar 2026 11:32:55 +0000 (GMT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc\n :content-transfer-encoding:date:from:message-id:mime-version\n :subject:to; s=pp1; bh=C4nK0oV1eFlaFS1LIonuhN/PPACEoGSG2paATNIDI\n jk=; b=XTfFupsksp6Q9CdKIJN1eTmkLygzB2/YUsTj2j0x/Z7ICEfVfdIEKq0f9\n npodbhk7tHMY5HDw2vufiJ0vsoqlrGfDwW+EaQVWtraitk0oKw3kJxtjnSUIGulZ\n EB5K1TiVGBtMwriq+LGWx6QX3iYmx7HVYkVTGvedlbZU1AhRfCpzkdRMFlmOSNR2\n vETR/J4xurzF3YwQkoTta06zqZs7w4I6zjAgM6oWJIUeYF6V+lkFZVyaZhi8ZCUa\n kBz41zfwo0mUy5+22tNg0cFBMkwHXgcc9NJ9LOXe2M8gb0nWjAqygGI/gsk7zcWf\n X909rQDPc9tpD3Ty880awmYxU2RTg==",
        "From": "Pavithra <pavrampu@linux.ibm.com>",
        "To": "ltp@lists.linux.it",
        "Date": "Sun, 29 Mar 2026 17:02:52 +0530",
        "Message-ID": "<20260329113252.204926-1-pavrampu@linux.ibm.com>",
        "X-Mailer": "git-send-email 2.53.0",
        "MIME-Version": "1.0",
        "X-TM-AS-GCONF": "00",
        "X-Authority-Analysis": "v=2.4 cv=RsjI7SmK c=1 sm=1 tr=0 ts=69c90dec cx=c_pps\n a=AfN7/Ok6k8XGzOShvHwTGQ==:117 a=AfN7/Ok6k8XGzOShvHwTGQ==:17\n a=Yq5XynenixoA:10 a=VkNPw1HP01LnGYTKEx00:22 a=RnoormkPH1_aCDwRdu11:22\n a=V8glGbnc2Ofi9Qvn3v5h:22 a=VnNF1IyMAAAA:8 a=46T53Tob3IBC708BRNsA:9",
        "X-Proofpoint-GUID": "KrliZbsNZsrXOp19yEqPP93MwqPLPFB0",
        "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwMzI5MDA4OCBTYWx0ZWRfX0ob6oiiSYpeO\n c53jcMsxK/EO9Q9hZdJZt869BYrilWlsv0Bl7UvoMAAjEZhcXTgy6sah0CvSp/wCfYhp8z6JIgu\n 1rDF+gtHn+jJcNSfi5jIFBEmO8Y8ZTDfbe7lmKl1eK4uCB8H8nG8Q3tCK7YBRDk+AqHtciI8lTJ\n UylusfdPdObeFOUeVnHX63+t7gSNqs0vTfRQAIDhpzfii5HEYDB8z8FfiltN1VtaFmEAfGlGzJw\n hWotowCojpZgIBxEQVa14iCddWbiH6d5y1l73IjtaCjVxDFCWE4Y9FMBZ2/CHuHUTCkZK+8rN1W\n QLaVXXKtBa6IeDcjsZyW7IPQPtUw36UkCGhEVhBNv1/63hdD0PR76h2G5exSpbZEohbdN05pwoi\n F7ncBeqs87H6IvY/RoY14cqTvQRSZEw+dHJtMGfKAq1c6HESG8hhCbOlg3R8PXmOFA4AwnboL++\n 5mQ0Xd+nXnbrMo9ZVdg==",
        "X-Proofpoint-ORIG-GUID": "KrliZbsNZsrXOp19yEqPP93MwqPLPFB0",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-03-29_03,2026-03-28_01,2025-10-01_01",
        "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n impostorscore=0 bulkscore=0 priorityscore=1501 lowpriorityscore=0\n suspectscore=0 malwarescore=0 spamscore=0 clxscore=1015 phishscore=0\n adultscore=0 classifier=typeunknown authscore=0 authtc= authcc=\n route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2603050001\n definitions=main-2603290088",
        "X-Spam-Status": "No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=disabled version=4.0.1",
        "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on in-3.smtp.seeweb.it",
        "X-Virus-Scanned": "clamav-milter 1.0.9 at in-3.smtp.seeweb.it",
        "X-Virus-Status": "Clean",
        "Subject": "[LTP] [PATCH] Fix memcontrol02 test failure on powerpc.",
        "X-BeenThere": "ltp@lists.linux.it",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "Linux Test Project <ltp.lists.linux.it>",
        "List-Unsubscribe": "<https://lists.linux.it/options/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=unsubscribe>",
        "List-Archive": "<http://lists.linux.it/pipermail/ltp/>",
        "List-Post": "<mailto:ltp@lists.linux.it>",
        "List-Help": "<mailto:ltp-request@lists.linux.it?subject=help>",
        "List-Subscribe": "<https://lists.linux.it/listinfo/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=subscribe>",
        "Cc": "pavrampu@linux.ibm.com",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it",
        "Sender": "\"ltp\" <ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>"
    },
    "content": "memcontrol02 test is failing on PowerPC with 50MB allocation. Increase to\n100MB for both anonymous and page cache tests, and bump minimum\ndevice size from 300MB to 400MB accordingly.\n\nSigned-off-by: Pavithra <pavrampu@linux.ibm.com>\n---\n testcases/kernel/controllers/memcg/memcontrol02.c | 14 +++++++-------\n 1 file changed, 7 insertions(+), 7 deletions(-)",
    "diff": "diff --git a/testcases/kernel/controllers/memcg/memcontrol02.c b/testcases/kernel/controllers/memcg/memcontrol02.c\nindex 0b79403c9..fcce82d68 100644\n--- a/testcases/kernel/controllers/memcg/memcontrol02.c\n+++ b/testcases/kernel/controllers/memcg/memcontrol02.c\n@@ -32,9 +32,9 @@ static struct tst_cg_group *cg_child;\n static int fd;\n static int file_to_all_error = 10;\n \n-static void alloc_anon_50M_check(void)\n+static void alloc_anon_100M_check(void)\n {\n-\tconst ssize_t size = MB(50);\n+\tconst ssize_t size = MB(100);\n \tchar *buf, *ptr;\n \tssize_t anon, current;\n \tconst char *const anon_key_fmt =\n@@ -58,9 +58,9 @@ static void alloc_anon_50M_check(void)\n \t\t     current, anon);\n }\n \n-static void alloc_pagecache_50M_check(void)\n+static void alloc_pagecache_100M_check(void)\n {\n-\tconst size_t size = MB(50);\n+\tconst size_t size = MB(100);\n \tsize_t current, file;\n \tconst char *const file_key_fmt =\n \t\tTST_CG_VER_IS_V1(tst_cg, \"memory\") ? \"cache %zd\" : \"file %zd\";\n@@ -102,9 +102,9 @@ static void test_memcg_current(unsigned int n)\n \t\t\tcurrent);\n \n \t\tif (!n)\n-\t\t\talloc_anon_50M_check();\n+\t\t\talloc_anon_100M_check();\n \t\telse\n-\t\t\talloc_pagecache_50M_check();\n+\t\t\talloc_pagecache_100M_check();\n \t} else {\n \t\ttst_reap_children();\n \t\tcg_child = tst_cg_group_rm(cg_child);\n@@ -136,7 +136,7 @@ static struct tst_test test = {\n \t.tcnt = 2,\n \t.test = test_memcg_current,\n \t.mount_device = 1,\n-\t.dev_min_size = 300,\n+\t.dev_min_size = 400,\n \t.mntpoint = TMPDIR,\n \t.all_filesystems = 1,\n \t.forks_child = 1,\n",
    "prefixes": []
}