[{"id":3679358,"web_url":"http://patchwork.ozlabs.org/comment/3679358/","msgid":"<20260420105342.3941-1-linuxtestproject.agent@gmail.com>","list_archive_url":null,"date":"2026-04-20T10:53:42","subject":"Re: [LTP] Fix hugeshmat05 test failure on lpar with 1GB hugepages.","submitter":{"id":93132,"url":"http://patchwork.ozlabs.org/api/people/93132/","name":null,"email":"linuxtestproject.agent@gmail.com"},"content":"Hi Pavithra,\n\nOn Mon, 20 Apr 2026, Pavithra wrote:\n> Fix hugeshmat05 test failure on lpar with 1GB hugepages.\n>\n> Modified the test to detect large hugepage sizes (≥1GB) and adjust test sizes accordingly.\n\nThe commit body describes what changed but not why the test was failing.\nIs shmget failing because N*hpage_size=4GB exceeds what the LPAR can\nallocate in one call, or is it a pool exhaustion issue? Please document\nthe root cause in the commit message.\n\n> +       if (hpage_size >= 1024 * 1024 * 1024)\n> +               multiplier = N / 2;\n> +       else\n> +               multiplier = N;\n\nWith multiplier=2 for 1GB pages the test needs at most 2 hugepages at\npeak, but .hugepages = {N+1, TST_NEEDS} still requires 5 free 1GB pages\n(5 GB). On an LPAR with 2–4 free 1GB hugepages the test still cannot\nrun. Update .hugepages to match the reduced requirement.\n\n---\nNote:\n\nOur agent completed the review of the patch. The agent can sometimes\nproduce false positives although often its findings are genuine. If you\nfind issues with the review, please comment this email or ignore the\nsuggestions.\n\nRegards,\nLTP AI Reviewer","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=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=OyCZmyT2;\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 4fzj5s39lxz1yD4\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 20 Apr 2026 20:53:53 +1000 (AEST)","from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id BB9933E2DD0\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 20 Apr 2026 12:53:50 +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) server-digest SHA384)\n (No client certificate requested)\n by picard.linux.it (Postfix) with ESMTPS id A57643E2D9C\n for <ltp@lists.linux.it>; Mon, 20 Apr 2026 12:53:46 +0200 (CEST)","from mail-dl1-x1242.google.com (mail-dl1-x1242.google.com\n [IPv6:2607:f8b0:4864:20::1242])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 2ABA66008C7\n for <ltp@lists.linux.it>; Mon, 20 Apr 2026 12:53:46 +0200 (CEST)","by mail-dl1-x1242.google.com with SMTP id\n a92af1059eb24-12c7212836bso7632943c88.0\n for <ltp@lists.linux.it>; Mon, 20 Apr 2026 03:53:46 -0700 (PDT)","from\n runnervmeorf1.mwnkrarbjm5e5digrl2jy2mjca.dx.internal.cloudapp.net\n ([52.159.244.170]) by smtp.gmail.com with ESMTPSA id\n 5a478bee46e88-2e53dcb487bsm13982708eec.31.2026.04.20.03.53.43\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 20 Apr 2026 03:53:43 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1776682424; x=1777287224; darn=lists.linux.it;\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=3LNIWJu65aMkjxWB2l7kPoANSSxnqlXrrVk/A/troYM=;\n b=OyCZmyT2hgzIyZfT6lA7/AIL4D4A1KCKApzZ+AyHlPJpI6dvUNdlxR811mCc0KJEeN\n TKN0yHwOmkSWeKR6gkSHIFlAeCch5p6idKqpwP+1rKtV+Fc0SgmB4Y1VRHfPIMtyhVGB\n BKzxX5ggK0eFesAH02Cin5x4QlQvV0ks9kx1LBIkYEIon1uNPlrsw0AQT+deXWMLNe+b\n WZxH02PQLOtaD3oDuh2oYGpL6GBIl0CA2IgfnQOSUxfhv9p+8b/W5aeGZ9sV96B+iERF\n C4Hd81AP3hcAcrFCdpFqCHol4faFH2PyKCVca/FEQAArO70yg0Xnub04HEVYLABh5XW4\n KTZQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776682424; x=1777287224;\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=3LNIWJu65aMkjxWB2l7kPoANSSxnqlXrrVk/A/troYM=;\n b=VZd2ooJAxRTLHpxpKsAk/DfAbFLD9hemqEb1U5bxHZDF3NiJAwoHyV7OEnonWsQFjO\n RnbQgX5aiHry1WavRT4FeByTMWPCRFLn/mo1YjGOplP5h0RXESZP3EelKIuSmveGpVXo\n tmxH9ZqUXULy+6fi2lrsip61Xsbyru+irdYktp3ls0u5ZeHLzW/emoarKAup8883VS0I\n No18PrA4aTK8Jcj4kT8O/ttm/fKDHyAANwEBbMaPHalIxxGPfg8T8L8PID+eoLHrgFS7\n w/wIgjtd/s4BnSuBb5J/bTY8dpAh1En8V5vtdTxIfg2v3dXF6GvZRe933rouGGEZQFvr\n IvjQ==","X-Gm-Message-State":"AOJu0YzLWyza9rYz/1YhjHm7m8OtTuLY9VYRJAH3FM8c+mSmZnR64Qhx\n qDnl8YyzIpivklhaWnHDNwwhSnK81BcaGdCjBI1l9rSzuRoZXui2H3Go","X-Gm-Gg":"AeBDietYEKz9AnUONBJst2s3P3RwLO6vMEE0e0BZ4NCf23vl0uocW1NLc7aPxDK8jOC\n J/FCT9K4IKQmksPCzmQ+RnzxOA+8es3hg6y8mCXPL2jtO8hg6CUC4mz3+0lMb0c3869h4WSztdn\n QXiV/DiRq737lYWQ1qQ4RQT14HHoYSaT0HwdDC/Q1dIB1dyAy/M3fm1KJqoSzmF3KGDzdm4w8Tj\n LOyPbfz2sORAloNl9f2TC9RA2wBXfmIj8212RbD1eiMpJ9+NnwpkBXaAkqIjTaYlyvviq6dSL5y\n jwRB2iS4G9lfOa5NwBFjxBHtlzaet+XzwANMnYDIm899Anjuta/HEz3RXqLojDux1/mzYdRojXO\n XmwtuwUJDQfeZ5f4+dluR0psEN8T4sG9Jm7o7oHCigS9P9kap074CyoR6rSnG0/xHgfE1XQbC5m\n UyAF9VOPKu39x4Ux8mkBXslHuIE+ndrzi0XxtBqha3GKEG9Q8Cx5i/O4QrY1iQ5VLnj6xNNjawt\n x8WrK1njg6rjrT1IpQqLN4pbFbWY5rj+pyoNAkF3+O1VWjc/6Y=","X-Received":"by 2002:a05:7300:dc05:b0:2d9:6373:ad22 with SMTP id\n 5a478bee46e88-2e46557cae8mr6510764eec.12.1776682424259;\n Mon, 20 Apr 2026 03:53:44 -0700 (PDT)","From":"linuxtestproject.agent@gmail.com","To":"Pavithra <pavrampu@linux.ibm.com>","Date":"Mon, 20 Apr 2026 10:53:42 +0000","Message-ID":"<20260420105342.3941-1-linuxtestproject.agent@gmail.com>","X-Mailer":"git-send-email 2.53.0","In-Reply-To":"<20260420102339.729745-1-pavrampu@linux.ibm.com>","References":"<20260420102339.729745-1-pavrampu@linux.ibm.com>","MIME-Version":"1.0","X-Spam-Status":"No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM,SPF_HELO_NONE,\n SPF_PASS shortcircuit=no autolearn=disabled 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":"Re: [LTP] Fix hugeshmat05 test failure on lpar with 1GB 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":"ltp@lists.linux.it","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>"}}]