Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2223018/?format=api
{ "id": 2223018, "url": "http://patchwork.ozlabs.org/api/patches/2223018/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/b7f12130daaa2c1c721cf06ff999b6439fb22c2e.1776150071.git.sayalip@linux.ibm.com/", "project": { "id": 2, "url": "http://patchwork.ozlabs.org/api/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": "<b7f12130daaa2c1c721cf06ff999b6439fb22c2e.1776150071.git.sayalip@linux.ibm.com>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/b7f12130daaa2c1c721cf06ff999b6439fb22c2e.1776150071.git.sayalip@linux.ibm.com/", "date": "2026-04-14T08:21:58", "name": "[v5,04/14] selftests/mm: fix hugetlb pathname construction in hugetlb_reparenting_test.sh", "commit_ref": null, "pull_url": null, "state": "handled-elsewhere", "archived": false, "hash": "5f40c2497a7193c1ae27dbe9ddfb88077e1435c7", "submitter": { "id": 92656, "url": "http://patchwork.ozlabs.org/api/people/92656/?format=api", "name": "Sayali Patil", "email": "sayalip@linux.ibm.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/b7f12130daaa2c1c721cf06ff999b6439fb22c2e.1776150071.git.sayalip@linux.ibm.com/mbox/", "series": [ { "id": 499800, "url": "http://patchwork.ozlabs.org/api/series/499800/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=499800", "date": "2026-04-14T08:21:54", "name": "selftests/mm: fix failures and robustness improvements", "version": 5, "mbox": "http://patchwork.ozlabs.org/series/499800/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2223018/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2223018/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linuxppc-dev+bounces-19731-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=ibm.com header.i=@ibm.com header.a=rsa-sha256\n header.s=pp1 header.b=iryktERr;\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-19731-incoming=patchwork.ozlabs.org@lists.ozlabs.org;\n receiver=patchwork.ozlabs.org)", "lists.ozlabs.org;\n arc=none smtp.remote-ip=148.163.156.1", "lists.ozlabs.org;\n dmarc=pass (p=none dis=none) header.from=linux.ibm.com", "lists.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256\n header.s=pp1 header.b=iryktERr;\n\tdkim-atps=neutral", "lists.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=linux.ibm.com\n (client-ip=148.163.156.1; helo=mx0a-001b2d01.pphosted.com;\n envelope-from=sayalip@linux.ibm.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 4fvy2n5vH0z1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 14 Apr 2026 18:23:13 +1000 (AEST)", "from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4fvy2W1xB9z2yYY;\n\tTue, 14 Apr 2026 18:22:59 +1000 (AEST)", "from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com\n [148.163.156.1])\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 4fvy2V3mZtz2yVL\n\tfor <linuxppc-dev@lists.ozlabs.org>; Tue, 14 Apr 2026 18:22:58 +1000 (AEST)", "from pps.filterd (m0356517.ppops.net [127.0.0.1])\n\tby mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 63DLIcnT1833152;\n\tTue, 14 Apr 2026 08:22:43 GMT", "from ppma13.dal12v.mail.ibm.com\n (dd.9e.1632.ip4.static.sl-reverse.com [50.22.158.221])\n\tby mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4dh89r9sdf-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n\tTue, 14 Apr 2026 08:22:42 +0000 (GMT)", "from pps.filterd (ppma13.dal12v.mail.ibm.com [127.0.0.1])\n\tby ppma13.dal12v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id\n 63E605FX025862;\n\tTue, 14 Apr 2026 08:22:41 GMT", "from smtprelay02.fra02v.mail.ibm.com ([9.218.2.226])\n\tby ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 4dg2ujgeas-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n\tTue, 14 Apr 2026 08:22:41 +0000", "from smtpav04.fra02v.mail.ibm.com (smtpav04.fra02v.mail.ibm.com\n [10.20.54.103])\n\tby smtprelay02.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id\n 63E8Mbsd50725236\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);\n\tTue, 14 Apr 2026 08:22:37 GMT", "from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1])\n\tby IMSVA (Postfix) with ESMTP id A876020040;\n\tTue, 14 Apr 2026 08:22:37 +0000 (GMT)", "from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1])\n\tby IMSVA (Postfix) with ESMTP id A977D20043;\n\tTue, 14 Apr 2026 08:22:33 +0000 (GMT)", "from li-3f69264c-2ce6-11b2-a85c-c3f414d24014.ibm.com.com (unknown\n [9.39.26.223])\n\tby smtpav04.fra02v.mail.ibm.com (Postfix) with ESMTP;\n\tTue, 14 Apr 2026 08:22:33 +0000 (GMT)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1776154979;\n\tcv=none;\n b=fB7Wgepgu6odenQMqSTc5L5WXRwQYjkZn79g38qltLWLYUpQbCZFLCme7EHkl/5xBn45VJinleXJtu2/5p7BqK6rop3zpXslNDra5CXr463wBn5dqHsFzG58QEYnfgYDcR7+tEmvzmiOsnbUw3IWpdqbGTuqmkKMYb3WuM9/tKfrdSkoUfiFOAiYvY31BLOP2A/vJ6o+YJb1nebZ5PNTYZh6yJBPJiCE3L+Quo+x9qcVUwHiUK6eONAv1BZc8OHlqU2WRySccqBHTR96HxKnD4QOoqwNg4kDqAh3e2nWjcDebAaVc/6YtEPSpw9bCePWJFYwpaxHZgqXzPC3B6E9xQ==", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1776154979; c=relaxed/relaxed;\n\tbh=IzW3nDJIXN8nsOHErRm2SdUBfyLuevkgaiMQu8YlHjo=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=ZGOJjjQEHA7uOQJvaRFYVzIt55r14nhhz7X9eoZ9f1HWJ1DGtqLbih/eNi/n07yqE4YavYiImBLKner66ErUYb550VI6kt0ZzfayzMfRsdJC55QMFwHfXcpfRg6tNZY1ObxNLwAcq8P/kVVq6a+lVtpRljJ3e6Ix6Gr/klTbT5G5OIsELhycOWFfKfbV2umZoEN5b4TogkPu1Vkvs4pgjcydqIbydUPPHsEM7W422axuGjtiBtWPE0e1PH6pJGi15gZvV6jPE+b+JAD1Rns6QghqJyPInm2hQiKuj5okQw6MMSX+ZYneQrtXL4++WZkBC+TG6ZVc9yw71Dv1h9NsKQ==", "ARC-Authentication-Results": "i=1; lists.ozlabs.org;\n dmarc=pass (p=none dis=none) header.from=linux.ibm.com;\n dkim=pass (2048-bit key;\n unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256\n header.s=pp1 header.b=iryktERr; dkim-atps=neutral;\n spf=pass (client-ip=148.163.156.1; helo=mx0a-001b2d01.pphosted.com;\n envelope-from=sayalip@linux.ibm.com;\n receiver=lists.ozlabs.org) smtp.mailfrom=linux.ibm.com", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc\n\t:content-transfer-encoding:date:from:in-reply-to:message-id\n\t:mime-version:references:subject:to; s=pp1; bh=IzW3nDJIXN8nsOHEr\n\tRm2SdUBfyLuevkgaiMQu8YlHjo=; b=iryktERrd6Y/Nwof7K90/ikSSzyxnKP/j\n\tXp3LYgHE1hd9O/VanGcILvy/gT+4CO7wK0Udrws8p8Mrktrzih1BeA1hirSWQf1J\n\tI4kWucS9e3rTLAAol5whtW/KAfhYU2PP/VVgc/WycxctNwJbhZNGkCZofFqAng8f\n\tIiXI2oxvfL43vzfJ97h2A7E/Nw6XBXRNofJUw9H31vq7L3R1HRrvytdmbfDzoZQj\n\tWbcvqhvr2GsRwz9c3draDYhiB7DiBUxeHIpOUpnC4qThgRx49vtN+PYggc4K9H2Y\n\t4Pb+gJfLvcqWynah9YJUs7p3ZIBV8XXYgGvpoH+cm8OZlfs2oY6Lg==", "From": "Sayali Patil <sayalip@linux.ibm.com>", "To": "Andrew Morton <akpm@linux-foundation.org>, Shuah Khan <shuah@kernel.org>,\n linux-mm@kvack.org, linux-kernel@vger.kernel.org,\n linux-kselftest@vger.kernel.org,\n Ritesh Harjani <ritesh.list@gmail.com>", "Cc": "David Hildenbrand <david@kernel.org>, Zi Yan <ziy@nvidia.com>,\n Michal Hocko <mhocko@kernel.org>, Oscar Salvador <osalvador@suse.de>,\n Lorenzo Stoakes <lorenzo.stoakes@oracle.com>,\n Dev Jain <dev.jain@arm.com>, Liam.Howlett@oracle.com,\n linuxppc-dev@lists.ozlabs.org, Miaohe Lin <linmiaohe@huawei.com>,\n Venkat Rao Bagalkote <venkat88@linux.ibm.com>,\n Sayali Patil <sayalip@linux.ibm.com>", "Subject": "[PATCH v5 04/14] selftests/mm: fix hugetlb pathname construction in\n hugetlb_reparenting_test.sh", "Date": "Tue, 14 Apr 2026 13:51:58 +0530", "Message-ID": "\n <b7f12130daaa2c1c721cf06ff999b6439fb22c2e.1776150071.git.sayalip@linux.ibm.com>", "X-Mailer": "git-send-email 2.52.0", "In-Reply-To": "<cover.1776150071.git.sayalip@linux.ibm.com>", "References": "<cover.1776150071.git.sayalip@linux.ibm.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-TM-AS-GCONF": "00", "X-Proofpoint-Reinject": "loops=2 maxloops=12", "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwNDE0MDA3NyBTYWx0ZWRfX3kLgvhN6Lv0/\n pl1pfELMA9A69dmDsY7xaok1Nd2OnASz426UjAUKOSXYg9VGa6FhZcG1ZbKZB0XIQiOS8dadASL\n UXk9ylVGf05RWXvZ70X99nroIPeQlzd+VSmn87CrVPeoONgbnEbr1d60wh28mERhgYAacTqZVH5\n 9yMxPJGpZxmDKMLwNlNI/EZsMAHontkjgeWVQCJ74AR+aLC7bJ7WeKcZpm0VMOLU0ZX8Qm4JUnG\n Mh9exSxZU+PTMY+fgq/LAs3ptCTzQjQVlTlSPivS2Vv+c10JKl/3fW/peOMIAMTavCwiJ40+l90\n neBtfDsrkSxc9D77x8KGGdSnIDcfFo/PXqxqQVyQ9kcTq3dWeQpXg0yUcvktsZo7a+/rAMOMonk\n YMsRy0/xdJeMR8iDuY2/4MAy0+XXhOFP6mkrpxRdZL8m974HriG6XWynVpbimAZ/gPn5fbGkVBZ\n sPQS+miA5B22DsfEF2w==", "X-Proofpoint-ORIG-GUID": "zTr6KwF_QvhABTELM7IKKRaP-NPGpUy8", "X-Proofpoint-GUID": "Y7TTvvaiWtyymfglIwRNPlpIJUAuhrby", "X-Authority-Analysis": "v=2.4 cv=fYidDUQF c=1 sm=1 tr=0 ts=69ddf953 cx=c_pps\n a=AfN7/Ok6k8XGzOShvHwTGQ==:117 a=AfN7/Ok6k8XGzOShvHwTGQ==:17\n a=A5OVakUREuEA:10 a=VkNPw1HP01LnGYTKEx00:22 a=RnoormkPH1_aCDwRdu11:22\n a=U7nrCbtTmkRpXpFmAIza:22 a=Ikd4Dj_1AAAA:8 a=VwQbUJbxAAAA:8 a=VnNF1IyMAAAA:8\n a=7yu59zDboRqKFyXxuvEA:9", "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-14_02,2026-04-13_04,2025-10-01_01", "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n adultscore=0 impostorscore=0 clxscore=1015 malwarescore=0 phishscore=0\n bulkscore=0 priorityscore=1501 spamscore=0 suspectscore=0 lowpriorityscore=0\n classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0\n reason=mlx scancount=1 engine=8.22.0-2604070000 definitions=main-2604140077", "X-Spam-Status": "No, score=-0.7 required=3.0 tests=DKIM_SIGNED,DKIM_VALID,\n\tRCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,\n\tSPF_PASS autolearn=disabled version=4.0.1 OzLabs 8", "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on lists.ozlabs.org" }, "content": "The hugetlb_reparenting_test.sh script constructs hugetlb cgroup\nmemory interface file names based on the configured huge page size. The\nscript formats the size only in MB units, which causes mismatches on\nsystems using larger huge pages where the kernel exposes normalized\nunits (e.g. \"1GB\" instead of \"1024MB\").\n\nAs a result, the test fails to locate the corresponding cgroup files\nwhen 1GB huge pages are configured.\n\nUpdate the script to detect the huge page size and select the\nappropriate unit (MB or GB) so that the constructed paths match the\nkernel's hugetlb controller naming.\n\nAlso print an explicit \"Fail\" message when a test failure occurs to\nimprove result visibility.\n\nFixes: e487a5d513cb (\"selftest/mm: make hugetlb_reparenting_test tolerant to async reparenting\")\nReviewed-by: Zi Yan <ziy@nvidia.com>\nAcked-by: David Hildenbrand (Arm) <david@kernel.org>\nTested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>\nSigned-off-by: Sayali Patil <sayalip@linux.ibm.com>\n---\n .../selftests/mm/hugetlb_reparenting_test.sh | 14 ++++++++++++--\n 1 file changed, 12 insertions(+), 2 deletions(-)", "diff": "diff --git a/tools/testing/selftests/mm/hugetlb_reparenting_test.sh b/tools/testing/selftests/mm/hugetlb_reparenting_test.sh\nindex 7ddb370e1572..00f3f3cd8909 100755\n--- a/tools/testing/selftests/mm/hugetlb_reparenting_test.sh\n+++ b/tools/testing/selftests/mm/hugetlb_reparenting_test.sh\n@@ -48,6 +48,13 @@ function get_machine_hugepage_size() {\n }\n \n MB=$(get_machine_hugepage_size)\n+if (( MB >= 1024 )); then\n+ UNIT=\"GB\"\n+ MB_DISPLAY=$((MB / 1024))\n+else\n+ UNIT=\"MB\"\n+ MB_DISPLAY=$MB\n+fi\n \n function cleanup() {\n echo cleanup\n@@ -88,6 +95,7 @@ function assert_with_retry() {\n if [[ $elapsed -ge $timeout ]]; then\n echo \"actual = $((${actual%% *} / 1024 / 1024)) MB\"\n echo \"expected = $((${expected%% *} / 1024 / 1024)) MB\"\n+ echo FAIL\n cleanup\n exit 1\n fi\n@@ -108,11 +116,13 @@ function assert_state() {\n fi\n \n assert_with_retry \"$CGROUP_ROOT/a/memory.$usage_file\" \"$expected_a\"\n- assert_with_retry \"$CGROUP_ROOT/a/hugetlb.${MB}MB.$usage_file\" \"$expected_a_hugetlb\"\n+ assert_with_retry \\\n+\t \"$CGROUP_ROOT/a/hugetlb.${MB_DISPLAY}${UNIT}.$usage_file\" \"$expected_a_hugetlb\"\n \n if [[ -n \"$expected_b\" && -n \"$expected_b_hugetlb\" ]]; then\n assert_with_retry \"$CGROUP_ROOT/a/b/memory.$usage_file\" \"$expected_b\"\n- assert_with_retry \"$CGROUP_ROOT/a/b/hugetlb.${MB}MB.$usage_file\" \"$expected_b_hugetlb\"\n+ assert_with_retry \\\n+\t \"$CGROUP_ROOT/a/b/hugetlb.${MB_DISPLAY}${UNIT}.$usage_file\" \"$expected_b_hugetlb\"\n fi\n }\n \n", "prefixes": [ "v5", "04/14" ] }