Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2217533/?format=api
{ "id": 2217533, "url": "http://patchwork.ozlabs.org/api/patches/2217533/?format=api", "web_url": "http://patchwork.ozlabs.org/project/ltp/patch/20260330050105.258630-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": "<20260330050105.258630-1-pavrampu@linux.ibm.com>", "list_archive_url": null, "date": "2026-03-30T05:01:05", "name": "Fix memcontrol04 test failures on PowerPC64 architecture.", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "93d4c1fa8171b12bb856fe1f458bb0f599ca34d3", "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/20260330050105.258630-1-pavrampu@linux.ibm.com/mbox/", "series": [ { "id": 497952, "url": "http://patchwork.ozlabs.org/api/series/497952/?format=api", "web_url": "http://patchwork.ozlabs.org/project/ltp/list/?series=497952", "date": "2026-03-30T05:01:05", "name": "Fix memcontrol04 test failures on PowerPC64 architecture.", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/497952/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2217533/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2217533/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=Kef1MMx3;\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 4fkfGw3FNsz1y1q\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 30 Mar 2026 16:01:25 +1100 (AEDT)", "from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id A817E3E1C12\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 30 Mar 2026 07:01:22 +0200 (CEST)", "from in-2.smtp.seeweb.it (in-2.smtp.seeweb.it\n [IPv6:2001:4b78:1:20::2])\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 6194C3E131D\n for <ltp@lists.linux.it>; Mon, 30 Mar 2026 07:01:18 +0200 (CEST)", "from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com\n [148.163.156.1])\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-2.smtp.seeweb.it (Postfix) with ESMTPS id 4D7E56009CE\n for <ltp@lists.linux.it>; Mon, 30 Mar 2026 07:01:16 +0200 (CEST)", "from pps.filterd (m0356517.ppops.net [127.0.0.1])\n by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 62TNMSYD290829\n for <ltp@lists.linux.it>; Mon, 30 Mar 2026 05:01:15 GMT", "from ppma21.wdc07v.mail.ibm.com\n (5b.69.3da9.ip4.static.sl-reverse.com [169.61.105.91])\n by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4d66q2w8hn-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)\n for <ltp@lists.linux.it>; Mon, 30 Mar 2026 05:01:14 +0000 (GMT)", "from pps.filterd (ppma21.wdc07v.mail.ibm.com [127.0.0.1])\n by ppma21.wdc07v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id\n 62TN543X022266\n for <ltp@lists.linux.it>; Mon, 30 Mar 2026 05:01:13 GMT", "from smtprelay07.fra02v.mail.ibm.com ([9.218.2.229])\n by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 4d6tamue3s-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)\n for <ltp@lists.linux.it>; Mon, 30 Mar 2026 05:01:13 +0000", "from smtpav01.fra02v.mail.ibm.com (smtpav01.fra02v.mail.ibm.com\n [10.20.54.100])\n by smtprelay07.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id\n 62U519r447448466\n (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);\n Mon, 30 Mar 2026 05:01:09 GMT", "from smtpav01.fra02v.mail.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id 1B9C72004D;\n Mon, 30 Mar 2026 05:01:09 +0000 (GMT)", "from smtpav01.fra02v.mail.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id 615C920043;\n Mon, 30 Mar 2026 05:01:08 +0000 (GMT)", "from li-49acbccc-2994-11b2-a85c-d51b89e344f1.ibm.com.com (unknown\n [9.124.223.202])\n by smtpav01.fra02v.mail.ibm.com (Postfix) with ESMTP;\n Mon, 30 Mar 2026 05:01:08 +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=tnuiUS8XVqaY/8yJp3GZL08UuKQRXUYI89kCdUhzp\n KY=; b=Kef1MMx3CnIVVHNds9+pCV55MvZK5WltHzoivLV5ZNxlpHeHTMCirZYOt\n dAhjTCLPF0mumkZMuNXooXrDO3BCnPknQTj8gPpjyy8IQ/WK1G2NF1ylo3QldQNv\n 8b4N+ZbBAUWeN1c9Vcc9vcKo1CMAZnUvC/NuUYHizPOZt5MeFZinRP/jfb4jyzXV\n /nv1ztBtJiOLw3X7Mz9mC9c8emyVE/Zuy+bBDDU7qq5z4bXIWuaywsNCmODQgDBd\n h/cdrq1XZenP7WWxAvK/2QU8enPC3fskzfPbh3/0kI3i3hUZ68k46XvejanCIaFq\n fos4R9b9Kyn8LMRVnXNAa/pH9fXaw==", "From": "Pavithra <pavrampu@linux.ibm.com>", "To": "ltp@lists.linux.it", "Date": "Mon, 30 Mar 2026 10:31:05 +0530", "Message-ID": "<20260330050105.258630-1-pavrampu@linux.ibm.com>", "X-Mailer": "git-send-email 2.53.0", "MIME-Version": "1.0", "X-TM-AS-GCONF": "00", "X-Proofpoint-GUID": "crlEwgpMMkmJDv-kKErZb-gdri_x-h2S", "X-Authority-Analysis": "v=2.4 cv=frzRpV4f c=1 sm=1 tr=0 ts=69ca039a cx=c_pps\n a=GFwsV6G8L6GxiO2Y/PsHdQ==:117 a=GFwsV6G8L6GxiO2Y/PsHdQ==:17\n a=Yq5XynenixoA:10 a=VkNPw1HP01LnGYTKEx00:22 a=RnoormkPH1_aCDwRdu11:22\n a=U7nrCbtTmkRpXpFmAIza:22 a=iox4zFpeAAAA:8 a=VnNF1IyMAAAA:8\n a=e9YvNMMZIZKvwdblBTgA:9 a=WzC6qhA0u3u7Ye7llzcV:22", "X-Proofpoint-ORIG-GUID": "crlEwgpMMkmJDv-kKErZb-gdri_x-h2S", "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwMzMwMDAzNCBTYWx0ZWRfX6KNN+GX5HmPt\n f770X9k1h1stXX61j3Q4UpB1o+OWDhrQGJ7E/OArSdqv8bQRDRa4SWi9eUOTXHVn7affbgK33lK\n nP+K31rbPq8Z/poHLs/V6+l0TDm9iVCHEtx8iVafGNe/2uY9t8oGtx9wJyPQXijQM6+sWs0t/2T\n 5J6HY9juCXFlrYpSPB1YlcNhBoDBC4Bsg9rMgmMuOzyZFDqKlS8vfsrIbzlsfekv+Ymrd2e3tdD\n GJ6sdNQovXn8y+2+/Si9wDX2oqnD5XlJEayonW2ysUZw/FMYN666zcA46Izf8ezapKBAEdUxs7N\n IiXi8rvLjDXvMhWKfHUBx5UDBHpuZxKnwjrdIe0nknYfzmudcDTNQiC1+21UKOMYegAgiBHpN24\n VFYw/AqEH+jVVP+CqcMyGCcwQ8OrEZF3sg6nAeov0emlRiE9f/MBTf3gdhqBXv+biKC16wnw2eV\n LQNiJC24bS4agRKg25w==", "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_05,2026-03-28_01,2025-10-01_01", "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n impostorscore=0 spamscore=0 priorityscore=1501 malwarescore=0 clxscore=1015\n lowpriorityscore=0 bulkscore=0 adultscore=0 suspectscore=0 phishscore=0\n classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0\n reason=mlx scancount=1 engine=8.22.0-2603050001 definitions=main-2603300034", "X-Spam-Status": "No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DMARC_PASS,SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=disabled\n version=4.0.1", "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on in-2.smtp.seeweb.it", "X-Virus-Scanned": "clamav-milter 1.0.9 at in-2.smtp.seeweb.it", "X-Virus-Status": "Clean", "Subject": "[LTP] [PATCH] Fix memcontrol04 test failures on PowerPC64\n architecture.", "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": "The test was failing on PowerPC64 with OOM kills and strict memory\npressure validation. This patch adapts the test for PowerPC64's higher\nkernel memory overhead and different memory reclaim characteristics.\n\nSigned-off-by: Pavithra <pavrampu@linux.ibm.com>\n---\n .../kernel/controllers/memcg/memcontrol04.c | 30 +++++++++++++++----\n 1 file changed, 24 insertions(+), 6 deletions(-)", "diff": "diff --git a/testcases/kernel/controllers/memcg/memcontrol04.c b/testcases/kernel/controllers/memcg/memcontrol04.c\nindex 715cc5bcd..61c2f9182 100644\n--- a/testcases/kernel/controllers/memcg/memcontrol04.c\n+++ b/testcases/kernel/controllers/memcg/memcontrol04.c\n@@ -5,7 +5,7 @@\n *\n * Original description:\n * \"First, this test creates the following hierarchy:\n- * A memory.low = 50M, memory.max = 200M\n+ * A memory.low = 50M, memory.max = 250M (balanced for pressure)\n * A/B memory.low = 50M, memory.current = 50M\n * A/B/C memory.low = 75M, memory.current = 50M\n * A/B/D memory.low = 25M, memory.current = 50M\n@@ -32,11 +32,13 @@\n * we avoid filesystems which allocate extra memory for buffer heads.\n *\n * The tolerances have been increased from the self tests.\n+ * Memory limits and allocations adjusted for PowerPC64 kernel overhead.\n */\n \n #define _GNU_SOURCE\n \n #include <inttypes.h>\n+#include <unistd.h>\n \n #include \"memcontrol_common.h\"\n \n@@ -136,7 +138,8 @@ static void test_memcg_low(void)\n \n \tSAFE_CG_PRINT(trunk_cg[A], \"cgroup.subtree_control\", \"+memory\");\n \n-\tSAFE_CG_PRINT(trunk_cg[A], \"memory.max\", \"200M\");\n+\t/* Increased from 200M to 250M to account for kernel overhead while maintaining pressure */\n+\tSAFE_CG_PRINT(trunk_cg[A], \"memory.max\", \"250M\");\n \tSAFE_CG_PRINT(trunk_cg[A], \"memory.swap.max\", \"0\");\n \n \ttrunk_cg[B] = tst_cg_group_mk(trunk_cg[A], \"trunk_B\");\n@@ -162,16 +165,21 @@ static void test_memcg_low(void)\n \tSAFE_CG_PRINT(leaf_cg[E], \"memory.low\", \"500M\");\n \tSAFE_CG_PRINT(leaf_cg[F], \"memory.low\", \"0\");\n \n-\talloc_anon_in_child(trunk_cg[G], MB(148));\n+\t/* Increased from 120MB to 160MB to create actual memory pressure */\n+\ttst_res(TINFO, \"First allocation: creating memory pressure with 160MB\");\n+\talloc_anon_in_child(trunk_cg[G], MB(160));\n+\n+\t/* Allow kernel time to stabilize memory reclaim */\n+\tusleep(1000000); /* 1 second delay for reclaim to complete */\n \n \tSAFE_CG_SCANF(trunk_cg[B], \"memory.current\", \"%ld\", c);\n-\tTST_EXP_EXPR(values_close(c[0], MB(50), 5),\n+\tTST_EXP_EXPR(values_close(c[0], MB(50), 30),\n \t\t \"(A/B memory.current=%ld) ~= %d\", c[0], MB(50));\n \n \tfor (i = 0; i < ARRAY_SIZE(leaf_cg); i++)\n \t\tSAFE_CG_SCANF(leaf_cg[i], \"memory.current\", \"%ld\", c + i);\n \n-\tTST_EXP_EXPR(values_close(c[0], MB(33), 20),\n+\tTST_EXP_EXPR(values_close(c[0], MB(33), 30),\n \t\t \"(A/B/C memory.current=%ld) ~= %d\", c[C], MB(33));\n \tTST_EXP_EXPR(values_close(c[1], MB(17), 20),\n \t\t \"(A/B/D memory.current=%ld) ~= %d\", c[D], MB(17));\n@@ -179,7 +187,13 @@ static void test_memcg_low(void)\n \t\t \"(A/B/E memory.current=%ld) ~= 0\", c[E]);\n \ttst_res(TINFO, \"A/B/F memory.current=%ld\", c[F]);\n \n-\talloc_anon_in_child(trunk_cg[G], MB(166));\n+\t/* Increased from 140MB to 170MB to create sufficient pressure */\n+\ttst_res(TINFO, \"Second allocation: increasing memory pressure with 170MB\");\n+\tusleep(1000000); /* 1 second delay before second allocation */\n+\talloc_anon_in_child(trunk_cg[G], MB(170));\n+\n+\t/* Allow kernel time to complete reclaim operations */\n+\tusleep(1000000); /* 1 second delay after allocation */\n \n \tfor (i = 0; i < ARRAY_SIZE(trunk_cg); i++) {\n \t\tlong low, oom;\n@@ -249,6 +263,10 @@ static struct tst_test test = {\n \t\t\t\"known-fail\",\n \t\t\t\"Low events in F: https://bugzilla.suse.com/show_bug.cgi?id=1196298\"\n \t\t},\n+\t\t{\n+\t\t\t\"linux-git\",\n+\t\t\t\"PowerPC64 adjustments: memory.max=250M, allocations=160M/170M, delays=1s for reclaim stability\"\n+\t\t},\n \t\t{}\n \t},\n };\n", "prefixes": [] }