Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2225055/?format=api
{ "id": 2225055, "url": "http://patchwork.ozlabs.org/api/patches/2225055/?format=api", "web_url": "http://patchwork.ozlabs.org/project/ltp/patch/20260420102339.729745-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": "<20260420102339.729745-1-pavrampu@linux.ibm.com>", "list_archive_url": null, "date": "2026-04-20T10:23:39", "name": "Fix hugeshmat05 test failure on lpar with 1GB hugepages.", "commit_ref": null, "pull_url": null, "state": "needs-review-ack", "archived": false, "hash": "5b99d17a5fca0ca38feb7046d1d75a55c3c3b1ad", "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/20260420102339.729745-1-pavrampu@linux.ibm.com/mbox/", "series": [ { "id": 500591, "url": "http://patchwork.ozlabs.org/api/series/500591/?format=api", "web_url": "http://patchwork.ozlabs.org/project/ltp/list/?series=500591", "date": "2026-04-20T10:23:39", "name": "Fix hugeshmat05 test failure on lpar with 1GB hugepages.", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/500591/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2225055/comments/", "check": "warning", "checks": "http://patchwork.ozlabs.org/api/patches/2225055/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=bps+Kc80;\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)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fzhRK0g8rz1yD4\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 20 Apr 2026 20:23:57 +1000 (AEST)", "from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id AFE513E2DCE\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 20 Apr 2026 12:23:54 +0200 (CEST)", "from in-5.smtp.seeweb.it (in-5.smtp.seeweb.it\n [IPv6:2001:4b78:1:20::5])\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 7D19B3E264F\n for <ltp@lists.linux.it>; Mon, 20 Apr 2026 12:23:51 +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-5.smtp.seeweb.it (Postfix) with ESMTPS id 9E453600902\n for <ltp@lists.linux.it>; Mon, 20 Apr 2026 12:23:50 +0200 (CEST)", "from pps.filterd (m0353729.ppops.net [127.0.0.1])\n by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 63JIqXs82886958; Mon, 20 Apr 2026 10:23:48 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 4dm2j6f9rj-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n Mon, 20 Apr 2026 10:23:48 +0000 (GMT)", "from pps.filterd (ppma21.wdc07v.mail.ibm.com [127.0.0.1])\n by ppma21.wdc07v.mail.ibm.com (8.18.1.7/8.18.1.7) with ESMTP id\n 63KAKa9G022356;\n Mon, 20 Apr 2026 10:23:47 GMT", "from smtprelay06.fra02v.mail.ibm.com ([9.218.2.230])\n by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 4dmn9jvb47-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n Mon, 20 Apr 2026 10:23:46 +0000 (GMT)", "from smtpav05.fra02v.mail.ibm.com (smtpav05.fra02v.mail.ibm.com\n [10.20.54.104])\n by smtprelay06.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id\n 63KANhWA29557016\n (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);\n Mon, 20 Apr 2026 10:23:43 GMT", "from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id 1D514200D3;\n Mon, 20 Apr 2026 10:23:43 +0000 (GMT)", "from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id 30D5F200E1;\n Mon, 20 Apr 2026 10:23:42 +0000 (GMT)", "from li-49acbccc-2994-11b2-a85c-d51b89e344f1.ibm.com.com (unknown\n [9.124.217.129])\n by smtpav05.fra02v.mail.ibm.com (Postfix) with ESMTP;\n Mon, 20 Apr 2026 10:23:41 +0000 (GMT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc\n :content-transfer-encoding:content-type:date:from:message-id\n :mime-version:subject:to; s=pp1; bh=fkDkqWDhAnbEaVluQz7fT04YRjwN\n Yy8r85QXfGYDa8E=; b=bps+Kc80YeUGoANQAFCWygeS173KT4QbDnQh9v9NFTML\n JNfTRj+Y7dwiY8dc3mqTCkBvbwqJ0y8coLRsWoDfSWie2oX6GZKrO7P2rlWA4sOr\n cT9Q8FahTLyAYs18iRhnH/rbN+YnvwQ1YWw5d7rwW1OZ/T+hNQonL5pmQUXQgyBR\n h3IjNV6Y2AJ2+wye9TIjAJTH5D8kyziW5fkvSjO6ml7Ok5/86T18kPJy14AJAAbp\n 3TD6X5kRR9PPS3CikXIO13OCi6WHs+zbIofRxnwHNNx8GLti8XJNom6iSH5HqB1o\n /SPAAEIwM8hMl8uKVXYZvQ67PtWS8FInVG3bQ1Vukg==", "From": "Pavithra <pavrampu@linux.ibm.com>", "To": "ltp@lists.linux.it", "Date": "Mon, 20 Apr 2026 15:53:39 +0530", "Message-ID": "<20260420102339.729745-1-pavrampu@linux.ibm.com>", "X-Mailer": "git-send-email 2.53.0", "MIME-Version": "1.0", "X-TM-AS-GCONF": "00", "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwNDIwMDEwMCBTYWx0ZWRfX5i4gjVM0L7yU\n nJSSfqC97ygvg3vnieBkS1RUaXdcRsFpuE/rmPJ7rspiX8Agt4FjZfgdgqvScprEd3CTqDSsy1Z\n PYplA2lQt+ZwwYa41FbUQ0Y4FSGIonqHKWyw2V0jOjqt2gVnrX3mpkFvFmDwOZ87vRwNr16D9k/\n JAMjX7k+7OS13WZEbNyBqTufWIVfNvheRpoovP3aOBkDnJFKA9dnXUJNiV5qKOgaLFpOBYLEnnj\n L3kG8uw6fHh9aeTdgW33ar+sGrbrRjDHBJmbCNaoJsCletaXPdaty4IVmgMBB1iVI8grJVD4PIj\n QlQbel00YmMF7M9fNpfjUM/0Bmir4T3dhCD0aLEj76ClXBLXREk5HB4tcEkskMlUi/YARDGc8Hp\n FbQ/1LjIfQs0Rc7OUHeVFzCA1ksr+6jt2YgXl0S0oCHutmlUng6WtmcTr4xwoVDOP4mB27Ht6jI\n AK8QS89F3exvBZ9TZNA==", "X-Proofpoint-GUID": "Ndgkpe1qhf1U8HhkQJOzmge1REz8Eyly", "X-Authority-Analysis": "v=2.4 cv=SOJykuvH c=1 sm=1 tr=0 ts=69e5feb4 cx=c_pps\n a=GFwsV6G8L6GxiO2Y/PsHdQ==:117 a=GFwsV6G8L6GxiO2Y/PsHdQ==:17\n a=IkcTkHD0fZMA:10 a=A5OVakUREuEA:10 a=VkNPw1HP01LnGYTKEx00:22\n a=RnoormkPH1_aCDwRdu11:22 a=uAbxVGIbfxUO_5tXvNgY:22 a=VnNF1IyMAAAA:8\n a=3UEEET4vfHQdTR_TBpwA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10", "X-Proofpoint-ORIG-GUID": "Ndgkpe1qhf1U8HhkQJOzmge1REz8Eyly", "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-04-20_02,2026-04-17_04,2025-10-01_01", "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n malwarescore=0 spamscore=0 priorityscore=1501 lowpriorityscore=0\n clxscore=1015 phishscore=0 suspectscore=0 adultscore=0 impostorscore=0\n bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound\n adjust=0 reason=mlx scancount=1 engine=8.22.0-2604070000\n definitions=main-2604200100", "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-5.smtp.seeweb.it", "X-Virus-Scanned": "clamav-milter 1.0.9 at in-5.smtp.seeweb.it", "X-Virus-Status": "Clean", "Subject": "[LTP] [PATCH] Fix hugeshmat05 test failure on lpar with 1GB\n hugepages.", "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=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it", "Sender": "\"ltp\" <ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>" }, "content": "Modified the test to detect large hugepage sizes (≥1GB) and adjust test sizes accordingly.\n\nSigned-off-by: Pavithra <pavrampu@linux.ibm.com>\n---\n .../mem/hugetlb/hugeshmat/hugeshmat05.c | 30 ++++++++++++++-----\n 1 file changed, 22 insertions(+), 8 deletions(-)", "diff": "diff --git a/testcases/kernel/mem/hugetlb/hugeshmat/hugeshmat05.c b/testcases/kernel/mem/hugetlb/hugeshmat/hugeshmat05.c\nindex 3b2ae351c..c1e34f999 100644\n--- a/testcases/kernel/mem/hugetlb/hugeshmat/hugeshmat05.c\n+++ b/testcases/kernel/mem/hugetlb/hugeshmat/hugeshmat05.c\n@@ -37,9 +37,13 @@ void setup(void)\n {\n \tpage_size = getpagesize();\n \thpage_size = SAFE_READ_MEMINFO(\"Hugepagesize:\") * 1024;\n+\n+\ttst_res(TINFO, \"Page size: %ld bytes\", page_size);\n+\ttst_res(TINFO, \"Hugepage size: %ld bytes (%ld MB)\",\n+\t\thpage_size, hpage_size / (1024 * 1024));\n }\n \n-void shm_test(int size)\n+void shm_test(long size)\n {\n \tint shmid;\n \tchar *shmaddr;\n@@ -56,7 +60,7 @@ void shm_test(int size)\n \t}\n \n \tshmaddr[0] = 1;\n-\ttst_res(TINFO, \"allocated %d huge bytes\", size);\n+\ttst_res(TINFO, \"allocated %ld huge bytes\", size);\n \n \tif (shmdt((const void *)shmaddr) != 0) {\n \t\tshmctl(shmid, IPC_RMID, NULL);\n@@ -69,13 +73,23 @@ void shm_test(int size)\n static void test_hugeshmat(void)\n {\n \tunsigned int i;\n+\tlong multiplier;\n+\tlong tst_sizes[4];\n+\n+\t/*\n+\t * For large hugepage sizes (e.g., 1GB), use N/2 multiplier to avoid\n+\t * excessive memory requirements (4GB for N=4 with 1GB pages) while\n+\t * still testing alignment boundary conditions with multiple pages.\n+\t */\n+\tif (hpage_size >= 1024 * 1024 * 1024)\n+\t\tmultiplier = N / 2;\n+\telse\n+\t\tmultiplier = N;\n \n-\tconst int tst_sizes[] = {\n-\t\tN * hpage_size - page_size,\n-\t\tN * hpage_size - page_size - 1,\n-\t\thpage_size,\n-\t\thpage_size + 1\n-\t};\n+\ttst_sizes[0] = multiplier * hpage_size - page_size;\n+\ttst_sizes[1] = multiplier * hpage_size - page_size - 1;\n+\ttst_sizes[2] = hpage_size;\n+\ttst_sizes[3] = hpage_size + 1;\n \n \tfor (i = 0; i < ARRAY_SIZE(tst_sizes); ++i)\n \t\tshm_test(tst_sizes[i]);\n", "prefixes": [] }