[{"id":3682680,"web_url":"http://patchwork.ozlabs.org/comment/3682680/","msgid":"<ae9V2BKpMIFi3nnK@linux.dev>","list_archive_url":null,"date":"2026-04-27T12:26:00","subject":"Re: [LTP] [PATCH v1] mmapstress06: TCONF on systems without swap\n space","submitter":{"id":93238,"url":"http://patchwork.ozlabs.org/api/people/93238/","name":"Li Wang","email":"li.wang@linux.dev"},"content":"Hi Wei,\n\nWei Gao via ltp wrote:\n\n> mmapstress06 is designed to stress the mfile_swap kernel primitive, which\n> manages shared anonymous memory. On architectures with large pages (like\n> 64KB on ppc64le), the test's hardcoded request for 32769 pages results\n> in a ~2GB mapping. So in suse test system configured with 2GB of RAM and\n> no swap space, the test will fails with following information:\n> \n> mmapstress06: errno = 12; large mmap failed\n> for this test to run, it needs a mmap space of\n> 32769 pages\n> \n> The failure occurs because the 2GB request cannot be fulfilled within\n> the 2GB RAM limit without swap backing. Since the test specifically\n> intends to exercise swap-related logic (mfile_swap), it should be skipped\n> with TCONF when the system lacks swap space.\n\nSince we do have MAKE_SWAPFILE_SIZE macros, I guess we could create\na dedicated swap-file for the testing on those system?\n\nAnd, it'd be appreciated if you can convert it into new LTP API.","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\" (1024-bit key;\n unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256\n header.s=key1 header.b=JM5NRirm;\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 4g42qC2nqZz1yHv\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 27 Apr 2026 22:26:15 +1000 (AEST)","from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id DAA2E3D073E\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 27 Apr 2026 14:26:12 +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 808D03CCF96\n for <ltp@lists.linux.it>; Mon, 27 Apr 2026 14:26:10 +0200 (CEST)","from out-182.mta1.migadu.com (out-182.mta1.migadu.com\n [95.215.58.182])\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 C9CA760070B\n for <ltp@lists.linux.it>; Mon, 27 Apr 2026 14:26:09 +0200 (CEST)"],"Date":"Mon, 27 Apr 2026 20:26:00 +0800","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1;\n t=1777292768;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n in-reply-to:in-reply-to:references:references;\n bh=lwIBuiYjVjcICV7K/Kpln/buqmHNbh941p6cTKuPOuo=;\n b=JM5NRirmCbmT5cHu3tgpMG1WKzKcOVf4Qr+ittYS2vJAihLUotwC9sVwUraegzQhh/vNNR\n 9/qfBoFjBP37YzRCO7dUBF16WDOfrI20/737C5HIbUXPK6H10rybcqwGje6LDGOfaM7AIK\n abHQqUFVwmSypbtShptVw2w8kl9Jkto=","X-Report-Abuse":"Please report any abuse attempt to abuse@migadu.com and\n include these headers.","From":"Li Wang <li.wang@linux.dev>","To":"Wei Gao <wegao@suse.com>","Message-ID":"<ae9V2BKpMIFi3nnK@linux.dev>","Mail-Followup-To":"Wei Gao <wegao@suse.com>, ltp@lists.linux.it","References":"<20260427115941.31945-1-wegao@suse.com>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<20260427115941.31945-1-wegao@suse.com>","X-Migadu-Flow":"FLOW_OUT","X-Spam-Status":"No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS shortcircuit=no\n 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":"Re: [LTP] [PATCH v1] mmapstress06: TCONF on systems without swap\n space","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=\"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>"}},{"id":3682725,"web_url":"http://patchwork.ozlabs.org/comment/3682725/","msgid":"<ae9rSG-1RT1wIcCc@autotest-wegao.qe.prg2.suse.org>","list_archive_url":null,"date":"2026-04-27T13:57:28","subject":"Re: [LTP] [PATCH v1] mmapstress06: TCONF on systems without swap\n space","submitter":{"id":85577,"url":"http://patchwork.ozlabs.org/api/people/85577/","name":"Wei Gao","email":"wegao@suse.com"},"content":"> Hi Wei,\n> \n> Wei Gao via ltp wrote:\n> \n> > mmapstress06 is designed to stress the mfile_swap kernel primitive, which\n> > manages shared anonymous memory. On architectures with large pages (like\n> > 64KB on ppc64le), the test's hardcoded request for 32769 pages results\n> > in a ~2GB mapping. So in suse test system configured with 2GB of RAM and\n> > no swap space, the test will fails with following information:\n> > \n> > mmapstress06: errno = 12; large mmap failed\n> > for this test to run, it needs a mmap space of\n> > 32769 pages\n> > \n> > The failure occurs because the 2GB request cannot be fulfilled within\n> > the 2GB RAM limit without swap backing. Since the test specifically\n> > intends to exercise swap-related logic (mfile_swap), it should be skipped\n> > with TCONF when the system lacks swap space.\n> \n> Since we do have MAKE_SWAPFILE_SIZE macros, I guess we could create\n> a dedicated swap-file for the testing on those system?\nSorry forget mention this failure happen in our Immutable/Transactional \nsystems test (default disable swap), i am not sure enable swap force do \ntest is make sense or not.\n\n@Petr Should we skip this test for transactional system?\n\n> \n> And, it'd be appreciated if you can convert it into new LTP API.\nNo problem from my side.\n> \n> -- \n> Regards,\n> Li Wang","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=pass (1024-bit key;\n unprotected) header.d=lists.linux.it header.i=@lists.linux.it\n header.a=rsa-sha256 header.s=picard header.b=lujnpO5w;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=suse.com header.i=@suse.com header.a=rsa-sha256\n header.s=google header.b=ZcptoQPt;\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 4g44rf6gspz1yHv\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 27 Apr 2026 23:57:38 +1000 (AEST)","from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id 43E5F3E1A9A\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 27 Apr 2026 15:57:35 +0200 (CEST)","from in-5.smtp.seeweb.it (in-5.smtp.seeweb.it [217.194.8.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 4E3C43D2269\n for <ltp@lists.linux.it>; Mon, 27 Apr 2026 15:57:32 +0200 (CEST)","from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com\n [IPv6:2a00:1450:4864:20::32d])\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-5.smtp.seeweb.it (Postfix) with ESMTPS id C7258600211\n for <ltp@lists.linux.it>; Mon, 27 Apr 2026 15:57:31 +0200 (CEST)","by mail-wm1-x32d.google.com with SMTP id\n 5b1f17b1804b1-48909558b3aso102997465e9.0\n for <ltp@lists.linux.it>; Mon, 27 Apr 2026 06:57:31 -0700 (PDT)","from autotest-wegao.qe.prg2.suse.org\n ([2a07:de40:b240:0:2ad6:ed42:2ad6:ed42])\n by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-488fb7ac6aasm253592015e9.25.2026.04.27.06.57.30\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 27 Apr 2026 06:57:30 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=lists.linux.it;\n i=@lists.linux.it; q=dns/txt; s=picard; t=1777298255; h=date : to :\n message-id : references : mime-version : in-reply-to : subject :\n list-id : list-unsubscribe : list-archive : list-post : list-help :\n list-subscribe : from : reply-to : content-type :\n content-transfer-encoding : sender : from;\n bh=AW6Te2sVuC5z2PyAnF2speL5wzeL9pisHIuqu3m+uDg=;\n b=lujnpO5wJI5LIadxLZLg2CS+bcw6yY/ecvKbLpAIbJkxHRRs2zd0aUVfPoYiB4C5wUF5o\n 7z43ozt5Pufc24EfsF7Tcj4epOZ0QiuwB4LaGQd+XtLER8Bbqx47tVuERUeMmRBiVaxkjLG\n 0oMAL22gvJEJx9pElSe0TSC/zcVqikw=","v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=suse.com; s=google; t=1777298251; x=1777903051; darn=lists.linux.it;\n h=in-reply-to:content-disposition:mime-version:references:message-id\n :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to;\n bh=V0TaIKLt2UcSOpC5+w/3/jLqoCewF7OgHKoRcvCeGRw=;\n b=ZcptoQPtl1KiHMWRJCbtasitlTYZaO5cagt9F3xt4O1NvcYlwZQYuu0WlT0togRv2M\n eqj2tKh3WoJaKzun2HveMn/mHt24RoGZsWfNwmtwPvakiy+/BXlxFOzo+HcVROA2U6db\n 4aS6wtB79RL2mPV1rT+VK8975xOSt1ndfSKwSfiGGtjo4HckQwoETkna+t+DuHfJHbMb\n uZMsGTaMKINv7bhKawevWODymVdnOjDIjLErEGPybjJHkoBmrKdDunSwPJRk0ip6JsGX\n yDDBqVCPAu/oDewjYaBR4tptV1Vz3QvI/WcEd14FNrPnTh45+u8f//wf7uVBNN6AmKty\n +GMw=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777298251; x=1777903051;\n h=in-reply-to:content-disposition:mime-version:references:message-id\n :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=V0TaIKLt2UcSOpC5+w/3/jLqoCewF7OgHKoRcvCeGRw=;\n b=ZtZ/zbN5JF9B4Obd1l6FtPJ92QuNBCw+vcXC/2I9xjz41zBABCnG7drmGttgFUAKie\n NcDJMhEKAxH24XKM2NSuh59nQN9bjnh+U0rvyMJHLiCJumsZrqOxrYMlZkMdKm2TH0Ok\n 1FY23O9kmmiH9UmJqcLLn0jpG01PWb3Lhbi8/nC+cutayoOfm80cyGQVxBnVoUyQopZY\n KIsSZ+l1bhKBsBhOXMKXMFF1X+hJ2kILeAYweNFVsNfMx/Wnqjl0RoHJDSWLM8ntyXLX\n /RuE/m81iX1awGWXVveMcWZVbJQdpru3Y+IQFUjWRlgvKQ/QGff4cR1jYOopuHHERxHf\n 7SDA==","X-Gm-Message-State":"AOJu0Yx681pl/Z4fDpk+mXYXr1QtSqyOEeY7QoGafDix0V7D60F+dZkH\n D9+hWl1e7NPBcSIrQwnLShhStjFNYNjUjk24AJorBTGiWJyiIg6aZqVkxiuOsPd1hQSNCYWneJ4\n yb1k=","X-Gm-Gg":"AeBDiesGeZgs6gGOaLkyvXG5dGaOR1/iBTMhhgjoCQg9Y2dnkFpp0CeT5yG597JPHH3\n FC5MurJMilvesynEbBv02jW/7JFKA4wFaYlFtaxtub6lAZcrJLXr5pNwNWFXEOn4src2MUawt+4\n dGwmSO29m1Hj/C2CnhKKjg9Z8k6w43tbqe6T1wso70K6jVasofEEW0u0hKoqLbwjqW6uv4V+it5\n 26EkWRp9q8KtsvS2bbpB+gGyGm+lzUBOFvfi5wQEgfrE4c0t75IoM0xlXyT5hP1Ts062Ehmg9Yn\n NLvVKMRsMHcQBdndnrvuEQBy/83KwK7EEQcBZ7y+UPynUW5oJJLc2Nsg+6CgfogxX007hvIpimq\n ZPkKj8jKLosy2DwAAaLx5tpit4UbS6S+IkstdlhD86/wMtyZZghrys57aPu34uvAhpXx65SPS2n\n eAVbNjmmTa/lQv80rVJjxEvpHlhpIC4Rlxpo064QL3Cex4WKyNup4=","X-Received":"by 2002:a05:600c:620d:b0:489:1d23:4524 with SMTP id\n 5b1f17b1804b1-4891d23468bmr477989625e9.5.1777298250873;\n Mon, 27 Apr 2026 06:57:30 -0700 (PDT)","Date":"Mon, 27 Apr 2026 13:57:28 +0000","To":"ltp@lists.linux.it","Message-ID":"<ae9rSG-1RT1wIcCc@autotest-wegao.qe.prg2.suse.org>","References":"<20260427115941.31945-1-wegao@suse.com>\n <ae9V2BKpMIFi3nnK@linux.dev>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<ae9V2BKpMIFi3nnK@linux.dev>","X-Spam-Status":"No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS shortcircuit=no\n 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":"Re: [LTP] [PATCH v1] mmapstress06: TCONF on systems without swap\n space","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>","From":"Wei Gao via ltp <ltp@lists.linux.it>","Reply-To":"Wei Gao <wegao@suse.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>"}},{"id":3682726,"web_url":"http://patchwork.ozlabs.org/comment/3682726/","msgid":"<20260427135746.3941-1-linuxtestproject.agent@gmail.com>","list_archive_url":null,"date":"2026-04-27T13:57:46","subject":"Re: [LTP] mmapstress06: TCONF on systems without swap space","submitter":{"id":93132,"url":"http://patchwork.ozlabs.org/api/people/93132/","name":null,"email":"linuxtestproject.agent@gmail.com"},"content":"Hi Wei,\n\nOn Mon, 27 Apr 2026, Wei Gao wrote:\n> mmapstress06: TCONF on systems without swap space\n\n> +#include \"tst_memutils.h\"\n\nMinor nit: the include lands after the #define ANON_GRAN_PAGES_MAX block\nrather than with the other #includes at the top. Consider moving it into\nthe existing LTP include block for consistency.\n\n> +\tif (tst_available_swap() <= 0) {\n> +\t\ttst_resm(TCONF, \"Test requires swap space to exercise mfile_swap logic\");\n> +\t\ttst_exit();\n> +\t}\n\nReviewed-by: LTP AI Reviewer <ltp-ai@noreply.github.com>\n\n---\nNote:\n\nOur agent completed the review of the patch. The full review can be\nfound at: https://github.com/linux-test-project/ltp-agent/actions/runs/24999033042\n\nThe agent can sometimes produce false positives although often its\nfindings are genuine. If you find issues with the review, please\ncomment this email or ignore the suggestions.\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=QCd+bTJf;\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 4g44s322W0z1yHv\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 27 Apr 2026 23:57:59 +1000 (AEST)","from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id 328C63E2537\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 27 Apr 2026 15:57:57 +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 9F9D03E1604\n for <ltp@lists.linux.it>; Mon, 27 Apr 2026 15:57:50 +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-5.smtp.seeweb.it (Postfix) with ESMTPS id 2D588600732\n for <ltp@lists.linux.it>; Mon, 27 Apr 2026 15:57:50 +0200 (CEST)","by mail-dl1-x1242.google.com with SMTP id\n a92af1059eb24-12c88e5f4aeso4370895c88.0\n for <ltp@lists.linux.it>; Mon, 27 Apr 2026 06:57:50 -0700 (PDT)","from\n runnervmeorf1.inpavvx5jshutkevxdyl5th1ga.yx.internal.cloudapp.net\n ([172.208.153.213]) by smtp.gmail.com with ESMTPSA id\n a92af1059eb24-12c8e837beasm38879562c88.11.2026.04.27.06.57.47\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 27 Apr 2026 06:57:48 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1777298268; x=1777903068; 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=82Na1i/QvQ1OEMKrwb876CxuRhCDtg/oP9hn0luqebU=;\n b=QCd+bTJfA+F2IyPTTyeLX87HC8gm4mlkvOJxPiDxFLL6gUXq0aJW+g7MKG6hr0oK0z\n Yxq6l19Zzyz3K/CdlibPdykGOzL5rfKUpxTsi+SbctzrKhRLZTG3Z6ZYjC824JP0g3+Q\n oY1nAisvyjdpDLU4DhIPKnyXYqGCES7/qNWcTHXv0sBneFOPWT3IpCiPB3gG93F2SnKy\n eLIvACbuniZThbBE6+rvA72ndXosIA997ewNwMmq+WTz7HOsuEva/gkqO9q/FIZ/t+xc\n OGNJoP+6avYiveDW5oeiB94/ho2KCiysjQqBmtxDqtvxw8u0bmFoQayiz1QsMsqAgfuu\n Ff9w==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777298268; x=1777903068;\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=82Na1i/QvQ1OEMKrwb876CxuRhCDtg/oP9hn0luqebU=;\n b=kQUi50o/UYdZiYHbHY+0pgZeOo/1gPB9g3/MFvf+Re5f43UoCpNGxI5USTWgvJspsa\n I1XNhxEDeEXHyq3wIn+gwg3YPzMmPF5leqpIY2G06BD5hqF9yQPitxKXrZqxXIuD8/5f\n yOCo4nBjjDBApiEESFwKgtvjvQlzNJmISw3ees4t6W7M26Sq/D8/iokCA/8XasiMpiKJ\n yk98zz56RPTYDUCuvGgd6PgFUzLvSr7QbU1kRovPIBybN2rRXcK7V0CyQ+qwxeLpwBE4\n SOAqC8/kKoAgJPK0RumE1qRbSbfgWwAUUBwZyLMLKD+AyBcbtwz6uOL4lUZguoch5yOh\n d/vQ==","X-Gm-Message-State":"AOJu0YyvnKappFhC49zNSpC3buCOp2XkD7owFKm8mEudP13iTTNHHuhN\n tPaN6yFFjx1yWbt6P5uuQF/RMEzMClwfCfrJ6sOSGqkvp2bGEZjz6XOJ","X-Gm-Gg":"AeBDieu2c5Vgfbw+Vx4MRBm5SLWKaRILfaaXmnuKVyk/loD6UiqLf8BVNGc9o2e/G/c\n F82QEu3iEoj5Wivatp3XxrKlYCumDo+wo8hMj4wD3rd+xTBxsgo60C5VMD6Su7/Klnb3VXWilvZ\n a1whP+zdWg5Q1R72hiPTvrqE2yS18ZIMVFdQ0aDBcj5QHvPnqQ/7s/V7u5mCC+SsAJlZW0V2BpK\n GTNRPP97nbaz1Nbcpidasv1GnV19DW+jPXYuumXpdt+HbJdMV3wt8DeoOR/0hfI1GkOLAmmrrxj\n 221LrIQ6MfoCqwHkr3T4JZXsIEskeZV7xjROKMNQwp5LcizOA4ms2yM5T5VnymRpFxKFqUuMXC/\n nhLvjaEIXNc6slcsfFd080Fbd9uutp+AXQAv4co8HPTlY1o4rzfdsncV4VYfjK+kb3N6//ssqvE\n VCWPylV6DlJG9+NcI/7kidXl3vridUc+2G/7CGWqje48xwEdK+LElyYHX1Wqdau37t9mP5sjE2A\n uRnLnHbiM2drrD8vK+T1lvjyPXADRNzUb03pWaO+rzhS5nKmPZ4","X-Received":"by 2002:a05:7022:fa2:b0:12c:11d4:61dd with SMTP id\n a92af1059eb24-12c73b39a41mr18080270c88.18.1777298268326;\n Mon, 27 Apr 2026 06:57:48 -0700 (PDT)","From":"linuxtestproject.agent@gmail.com","To":"Wei Gao <wegao@suse.com>","Date":"Mon, 27 Apr 2026 13:57:46 +0000","Message-ID":"<20260427135746.3941-1-linuxtestproject.agent@gmail.com>","X-Mailer":"git-send-email 2.54.0","In-Reply-To":"<20260427115941.31945-1-wegao@suse.com>","References":"<20260427115941.31945-1-wegao@suse.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,FREEMAIL_FROM,SPF_HELO_NONE,SPF_PASS\n 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":"Re: [LTP] mmapstress06: TCONF on systems without swap space","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, LTP AI Reviewer <ltp-ai@noreply.github.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>"}},{"id":3683058,"web_url":"http://patchwork.ozlabs.org/comment/3683058/","msgid":"<afAPw39vAH0IUB5Q@linux.dev>","list_archive_url":null,"date":"2026-04-28T01:39:15","subject":"Re: [LTP] [PATCH v1] mmapstress06: TCONF on systems without swap\n space","submitter":{"id":93238,"url":"http://patchwork.ozlabs.org/api/people/93238/","name":"Li Wang","email":"li.wang@linux.dev"},"content":"On Mon, Apr 27, 2026 at 01:57:28PM +0000, Wei Gao via ltp wrote:\n> \n> > Hi Wei,\n> > \n> > Wei Gao via ltp wrote:\n> > \n> > > mmapstress06 is designed to stress the mfile_swap kernel primitive, which\n> > > manages shared anonymous memory. On architectures with large pages (like\n> > > 64KB on ppc64le), the test's hardcoded request for 32769 pages results\n> > > in a ~2GB mapping. So in suse test system configured with 2GB of RAM and\n> > > no swap space, the test will fails with following information:\n> > > \n> > > mmapstress06: errno = 12; large mmap failed\n> > > for this test to run, it needs a mmap space of\n> > > 32769 pages\n> > > \n> > > The failure occurs because the 2GB request cannot be fulfilled within\n> > > the 2GB RAM limit without swap backing. Since the test specifically\n> > > intends to exercise swap-related logic (mfile_swap), it should be skipped\n> > > with TCONF when the system lacks swap space.\n> > \n> > Since we do have MAKE_SWAPFILE_SIZE macros, I guess we could create\n> > a dedicated swap-file for the testing on those system?\n> Sorry forget mention this failure happen in our Immutable/Transactional \n> systems test (default disable swap), i am not sure enable swap force do \n> test is make sense or not.\n\nOk, if that system does not support swap on purpose,\nthat we can do the skip.\n\nReviewed-by: Li Wang <li.wang@linux.dev>","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\" (1024-bit key;\n unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256\n header.s=key1 header.b=smoVA9cO;\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 4g4NQs6nsbz1yHX\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 28 Apr 2026 11:39:49 +1000 (AEST)","from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id 1A5D73E28AD\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 28 Apr 2026 03:39:47 +0200 (CEST)","from in-6.smtp.seeweb.it (in-6.smtp.seeweb.it\n [IPv6:2001:4b78:1:20::6])\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 C561A3CA6DC\n for <ltp@lists.linux.it>; Tue, 28 Apr 2026 03:39:41 +0200 (CEST)","from out-181.mta1.migadu.com (out-181.mta1.migadu.com\n [95.215.58.181])\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-6.smtp.seeweb.it (Postfix) with ESMTPS id A7720140035C\n for <ltp@lists.linux.it>; Tue, 28 Apr 2026 03:39:39 +0200 (CEST)"],"Date":"Tue, 28 Apr 2026 09:39:15 +0800","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1;\n t=1777340378;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n in-reply-to:in-reply-to:references:references;\n bh=39yVV/5bZEBErw15r/W5tch5FwhGTkNYRsWXYTDUGQQ=;\n b=smoVA9cOHxdUhFypxuoJNUXrSddBF249Z31fjU8UZDD+cZwF0yV6NfMd5tFg/5zRU+T2NS\n m6J6dAQbmyCZOsV/6cqzv4rSQB0Edinxx7HBIyb/E1NtIlOOsvptEqaWWgQctrorXUPqJj\n TI0dFu0UXAuElnp2jQ0RdkEXIzm/a5E=","X-Report-Abuse":"Please report any abuse attempt to abuse@migadu.com and\n include these headers.","From":"Li Wang <li.wang@linux.dev>","To":"Wei Gao <wegao@suse.com>","Message-ID":"<afAPw39vAH0IUB5Q@linux.dev>","Mail-Followup-To":"Wei Gao <wegao@suse.com>, ltp@lists.linux.it","References":"<20260427115941.31945-1-wegao@suse.com>\n <ae9V2BKpMIFi3nnK@linux.dev>\n <ae9rSG-1RT1wIcCc@autotest-wegao.qe.prg2.suse.org>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<ae9rSG-1RT1wIcCc@autotest-wegao.qe.prg2.suse.org>","X-Migadu-Flow":"FLOW_OUT","X-Spam-Status":"No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS shortcircuit=no\n autolearn=disabled version=4.0.1","X-Spam-Checker-Version":"SpamAssassin 4.0.1 (2024-03-25) on in-6.smtp.seeweb.it","X-Virus-Scanned":"clamav-milter 1.0.9 at in-6.smtp.seeweb.it","X-Virus-Status":"Clean","Subject":"Re: [LTP] [PATCH v1] mmapstress06: TCONF on systems without swap\n space","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=\"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>"}},{"id":3683409,"web_url":"http://patchwork.ozlabs.org/comment/3683409/","msgid":"<69f09f9a.050a0220.321275.199a@mx.google.com>","list_archive_url":null,"date":"2026-04-28T11:52:57","subject":"Re: [LTP] [PATCH v1] mmapstress06: TCONF on systems without swap\n space","submitter":{"id":82886,"url":"http://patchwork.ozlabs.org/api/people/82886/","name":"Andrea Cervesato","email":"andrea.cervesato@suse.com"},"content":"Reviewed-by: Andrea Cervesato <andrea.cervesato@suse.com>\n\n--\nAndrea Cervesato\nSUSE QE Automation Engineer Linux\nandrea.cervesato@suse.com","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=pass (1024-bit key;\n unprotected) header.d=lists.linux.it header.i=@lists.linux.it\n header.a=rsa-sha256 header.s=picard header.b=h4CQRQCt;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=suse.com header.i=@suse.com header.a=rsa-sha256\n header.s=google header.b=ZPo3URXC;\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 4g4f2V2V72z1xvV\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 28 Apr 2026 21:53:06 +1000 (AEST)","from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id 2EB4C3E49F3\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 28 Apr 2026 13:53:04 +0200 (CEST)","from in-4.smtp.seeweb.it (in-4.smtp.seeweb.it\n [IPv6:2001:4b78:1:20::4])\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 39A453E2D7C\n for <ltp@lists.linux.it>; Tue, 28 Apr 2026 13:53:00 +0200 (CEST)","from mail-wr1-x436.google.com (mail-wr1-x436.google.com\n [IPv6:2a00:1450:4864:20::436])\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-4.smtp.seeweb.it (Postfix) with ESMTPS id B4DF11000975\n for <ltp@lists.linux.it>; Tue, 28 Apr 2026 13:52:59 +0200 (CEST)","by mail-wr1-x436.google.com with SMTP id\n ffacd0b85a97d-43d7e23defbso6625056f8f.0\n for <ltp@lists.linux.it>; Tue, 28 Apr 2026 04:52:59 -0700 (PDT)","from localhost.localdomain\n (p200300ef2f4fc9009ff26ae1d4042002.dip0.t-ipconnect.de.\n [2003:ef:2f4f:c900:9ff2:6ae1:d404:2002])\n by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-4463f5b4fa2sm5765839f8f.19.2026.04.28.04.52.58\n for <ltp@lists.linux.it>\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 28 Apr 2026 04:52:58 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=lists.linux.it;\n i=@lists.linux.it; q=dns/txt; s=picard; t=1777377184; h=message-id :\n to : cc : in-reply-to : date : subject : list-id : list-unsubscribe :\n list-archive : list-post : list-help : list-subscribe : from :\n reply-to : mime-version : content-type : content-transfer-encoding :\n sender : from; bh=RWBj789HCSiUrKB8R4V2KKfYWo3b/dWdN6e1tu5kcT0=;\n b=h4CQRQCtepT6PeEXapoJHd5skxqAeLqUt9MdSsmTZQEnacUMOxyQDd79pqzYF6T7yApKg\n Rf79qX3pL/Ahvkbrf7TBDsF2FNd643zmKxQqcPn1FoxKVnOIX+NU8Rn/MbjLMGm3rEmkfil\n FBI9G8zREB/5WVSSAn17NpqI5aPCPvk=","v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=suse.com; s=google; t=1777377179; x=1777981979; darn=lists.linux.it;\n h=date:content-transfer-encoding:subject:in-reply-to:cc:to:from\n :message-id:from:to:cc:subject:date:message-id:reply-to;\n bh=nIYZV4wIwN0c0BMAf0MMCsM9Xjm5KWqPcbqWD98uGZ0=;\n b=ZPo3URXCssa2GL5B3r4/SSUvvYY+b+AoTfGuOSE6KqD2wA02RD8mo/vVcry77sda5R\n KUrD1NhrqBicrmBI7+q4tbgV1duHpb3w2zz4gNdwAX+EWOp8PGV5LmbUEEz6kIIbOQQ0\n 8t6rGRtO0grYKZ5tT4XZU8ykMHVCXm1ZMetLjOMmDCCtr9B5ILIDXbgMnTT0jezdSC6Z\n //rcAAKO8hqEJrDqtOB0hfxL4vbaf0Mqk+dHeXI6L0GDIPe3Wlyj4qw4Ji63rEoB8mN1\n 048wqTKdOoEFHYTMl3zdMuRR3Igk14r0ePYOJGspNr9bIsp3UWxHgFLqcKuzrvBO7Qlc\n xKpA=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777377179; x=1777981979;\n h=date:content-transfer-encoding:subject:in-reply-to:cc:to:from\n :message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=nIYZV4wIwN0c0BMAf0MMCsM9Xjm5KWqPcbqWD98uGZ0=;\n b=FEVAB5Xi/87JP9TXN0+AHz022DcGMG6bBwjJeiU0K5azSWNaejFJHvMUztykB5Z5/R\n bo3ay1JDQ3Rwxb+iMvdLd5IQ89aj0nVpaFd1zos8RcMx7QX588SU5USNOCLzRGLzjaLJ\n 3+hMLzVfSDEQoOS8AGlpPDPxESrGxF8Rt8BLmQXvB2vJepCYWgvqDqZTQyzaO2TdO5Ip\n BaLeOq69dNoua2tWXGyoRiB1KhjS+0ECCOzuYvcMOh2UJYtrXWkLQOjnXF00JX+lWQGk\n A5kWHfBQjqPOlMyURxDXMtAlcjWptXzt8OWkqWhAxi81MAEbDYZgOUvH9OYSbeyqezve\n vUBA==","X-Gm-Message-State":"AOJu0YwhbkSOa4q2RFpPje21XLNRuUNpKXPrnxPcG610cN1rgpfuFEAz\n CP8adZVxjrCVvIK7NY7srDPYFUeLZBPG/VPLG6WVAkdo6KqPybskbeWCbzqyDNAEYnGXa67oZYN\n zPAEc9zfOcOII","X-Gm-Gg":"AeBDievoBeBktqiDsCkZZnBZo7YgGtkBCHhe2mSISMFw7HpLaktvxQlgTVvyVAGlFgp\n LcVBE8gafEtLCD2yiE07OYXVYePmMjc47M3/57RJXiYPGTdJBkO6dWPSOYqPOSSpwh5iofOjXMq\n Au5tMqS2y3xztn06tBzTWt08qPdctpGSmN1gSaZcJqN/oQ/cwU8g9NeqtdpHSVBd+X5aO8tEYYY\n G59Y9QvQIIOcpO7a51SRuiPxfc976OCihGFqrmg62BQ3q8twxYcQDAWg0XE9QKMsi59tEmQnbmQ\n ahr+mvRlQcE4XABisDsdeyrmpYz//9ZCCGCzwqjgqkPplC2p7VO12S5wEMR3qHqsjJgHPzi8FRa\n JU6ATxCj44Ea+Cv+mVbTD2yMgTpOr+ZWZbgCdQ5ZQj7E78NVyUXyMmNHl5lZzzJGlx7j9qTEVKn\n Yu9L/x7awywS5u5kfRDmiqYvyBsPmqrRdqeKcVMWU9rQZ1RO5JaUnwpXZPhdTNeekIprqLVmnYu\n k262cXXP0LM+f91waFCIVAaPKQYHyHN1ekAlx58NUpzkA==","X-Received":"by 2002:a05:6000:3105:b0:43d:242:b9bb with SMTP id\n ffacd0b85a97d-44648b510d4mr5023608f8f.18.1777377178767;\n Tue, 28 Apr 2026 04:52:58 -0700 (PDT)","Message-ID":"<69f09f9a.050a0220.321275.199a@mx.google.com>","To":"\"Wei Gao via ltp\" <ltp@lists.linux.it>","Cc":"ltp@lists.linux.it","In-Reply-To":"<20260427115941.31945-1-wegao@suse.com>","Date":"Tue, 28 Apr 2026 11:52:57 +0000","X-Spam-Status":"No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS shortcircuit=no\n autolearn=disabled version=4.0.1","X-Spam-Checker-Version":"SpamAssassin 4.0.1 (2024-03-25) on in-4.smtp.seeweb.it","X-Virus-Scanned":"clamav-milter 1.0.9 at in-4.smtp.seeweb.it","X-Virus-Status":"Clean","Subject":"Re: [LTP] [PATCH v1] mmapstress06: TCONF on systems without swap\n space","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>","From":"Andrea Cervesato via ltp <ltp@lists.linux.it>","Reply-To":"Andrea Cervesato <andrea.cervesato@suse.com>","MIME-Version":"1.0","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>"}},{"id":3683442,"web_url":"http://patchwork.ozlabs.org/comment/3683442/","msgid":"<20260428125804.GA921372@pevik>","list_archive_url":null,"date":"2026-04-28T12:58:04","subject":"Re: [LTP] [PATCH v1] mmapstress06: TCONF on systems without swap\n space","submitter":{"id":70792,"url":"http://patchwork.ozlabs.org/api/people/70792/","name":"Petr Vorel","email":"pvorel@suse.cz"},"content":"Hi all,\n\n> mmapstress06 is designed to stress the mfile_swap kernel primitive, which\n> manages shared anonymous memory. On architectures with large pages (like\n> 64KB on ppc64le), the test's hardcoded request for 32769 pages results\n> in a ~2GB mapping. So in suse test system configured with 2GB of RAM and\n> no swap space, the test will fails with following information:\n\n> mmapstress06: errno = 12; large mmap failed\n> for this test to run, it needs a mmap space of\n> 32769 pages\n\n> The failure occurs because the 2GB request cannot be fulfilled within\n> the 2GB RAM limit without swap backing. Since the test specifically\n> intends to exercise swap-related logic (mfile_swap), it should be skipped\n> with TCONF when the system lacks swap space.\n\n> Signed-off-by: Wei Gao <wegao@suse.com>\n> ---\n>  testcases/kernel/mem/mmapstress/mmapstress06.c | 8 ++++++++\n>  1 file changed, 8 insertions(+)\n\n> diff --git a/testcases/kernel/mem/mmapstress/mmapstress06.c b/testcases/kernel/mem/mmapstress/mmapstress06.c\n> index 37b7edc84..54b5febbf 100644\n> --- a/testcases/kernel/mem/mmapstress/mmapstress06.c\n> +++ b/testcases/kernel/mem/mmapstress/mmapstress06.c\n> @@ -51,6 +51,8 @@ void ok_exit();\n\n>  #define ANON_GRAN_PAGES_MAX\t(32U)\n\n> +#include \"tst_memutils.h\"\n> +\n>  extern time_t time(time_t *);\n>  extern char *ctime(const time_t *);\n>  extern int atoi(const char *);\n> @@ -74,6 +76,12 @@ int main(int argc, char *argv[])\n>  \t\t(void)fprintf(stderr, \"usage: %s sleep_time\\n\", argv[0]);\n>  \t\tanyfail();\n>  \t}\n> +\n> +\tif (tst_available_swap() <= 0) {\n> +\t\ttst_resm(TCONF, \"Test requires swap space to exercise mfile_swap logic\");\nWhy to require swap for the test instead of checking for ENOMEM later?\n\n> +\t\ttst_exit();\nnit: I'd use tst_brkm() although it has ugly \"Remaining cases broken\" message as\nit will be more obvious when doing rewrite.\n\n> +\t}\n\nHow about this? (with cleanup of ugly printf).\n\nKind regards,\nPetr\n\n+++ testcases/kernel/mem/mmapstress/mmapstress06.c\n@@ -89,10 +89,12 @@ int main(int argc, char *argv[])\n \t    (mmapaddr, (ANON_GRAN_PAGES_MAX * NMFPTEPG + 1) * pagesize,\n \t     PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_SHARED, 0,\n \t     0) == (caddr_t) - 1) {\n-\t\tERROR(\"large mmap failed\");\n-\t\tprintf(\"for this test to run, it needs a mmap space of\\n\");\n-\t\tprintf(\"%d pages\\n\", (ANON_GRAN_PAGES_MAX * NMFPTEPG + 1));\n-\t\treturn 1;\n+\t\tif (errno == ENOMEM) {\n+\t\t\ttst_brkm(TCONF, NULL, \"not enough memory or swap for mmap() %d pages\",\n+\t\t\t\t\t ANON_GRAN_PAGES_MAX * NMFPTEPG + 1);\n+\t\t}\n+\n+\t\ttst_brkm(TBROK | TERRNO, NULL, \"mmap() failed\");\n \t}\n \t(void)sleep(sleep_time);\n \t(void)time(&t);","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\" (1024-bit key;\n unprotected) header.d=suse.cz header.i=@suse.cz header.a=rsa-sha256\n header.s=susede2_rsa header.b=KiBiAitV;\n\tdkim=fail reason=\"signature verification failed\" header.d=suse.cz\n header.i=@suse.cz header.a=ed25519-sha256 header.s=susede2_ed25519\n header.b=EO0ZgzYV;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key)\n header.d=suse.cz header.i=@suse.cz header.a=rsa-sha256 header.s=susede2_rsa\n header.b=PKMZCCGZ;\n\tdkim=neutral header.d=suse.cz header.i=@suse.cz header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=L3B2NKLC;\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)","smtp-out2.suse.de;\n dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=PKMZCCGZ;\n dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=L3B2NKLC"],"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 4g4gTn2q30z1xrS\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 28 Apr 2026 22:58:21 +1000 (AEST)","from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id B39903D073E\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 28 Apr 2026 14:58:18 +0200 (CEST)","from in-4.smtp.seeweb.it (in-4.smtp.seeweb.it [217.194.8.4])\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 6D5243C7A5F\n for <ltp@lists.linux.it>; Tue, 28 Apr 2026 14:58:15 +0200 (CEST)","from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131])\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-4.smtp.seeweb.it (Postfix) with ESMTPS id C6B521000975\n for <ltp@lists.linux.it>; Tue, 28 Apr 2026 14:58:14 +0200 (CEST)","from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org\n [IPv6:2a07:de40:b281:104:10:150:64:97])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-out2.suse.de (Postfix) with ESMTPS id D60D45BD2E;\n Tue, 28 Apr 2026 12:58:13 +0000 (UTC)","from imap1.dmz-prg2.suse.org (localhost [127.0.0.1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id B2DA0593B0;\n Tue, 28 Apr 2026 12:58:13 +0000 (UTC)","from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167])\n by imap1.dmz-prg2.suse.org with ESMTPSA id zVqJKuWu8GnJTAAAD6G6ig\n (envelope-from <pvorel@suse.cz>); Tue, 28 Apr 2026 12:58:13 +0000"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_rsa;\n t=1777381094;\n h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to:\n cc:cc:mime-version:mime-version:content-type:content-type:\n in-reply-to:in-reply-to:references:references;\n bh=Z2EJLfMq7Cc+3u6R417PX3b+TfJBNS0yPQmzvflTyhs=;\n b=KiBiAitVvF3ibRkanMxWxl0Ig1/Y3W7xQiuPvJTOcaW9DzCYvRBSDWLm2D8F20fXnITO7t\n dZfbPRIeH1u0WD7ZlAaHLKmH5HEwiYUCr9d1j4y48PLYAcTYOlYUxDnuwPEzICg+SfpjtM\n ATbpnhgj4B1LHyVzdof5Ln4/h8MWyMk=","v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_ed25519; t=1777381094;\n h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to:\n cc:cc:mime-version:mime-version:content-type:content-type:\n in-reply-to:in-reply-to:references:references;\n bh=Z2EJLfMq7Cc+3u6R417PX3b+TfJBNS0yPQmzvflTyhs=;\n b=EO0ZgzYVcjtiif9JQ4QLlR4KdUIaI9hWpRf+FOpAwh6oaS9oC160r7+YEQJMd3D4SsYuMU\n m/o3yCklG3/wX1BA==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_rsa;\n t=1777381093;\n h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to:\n cc:cc:mime-version:mime-version:content-type:content-type:\n in-reply-to:in-reply-to:references:references;\n bh=Z2EJLfMq7Cc+3u6R417PX3b+TfJBNS0yPQmzvflTyhs=;\n b=PKMZCCGZ+aa9QunTptVo9yoOErsOHURP9OGiDUx/SxJakxzVcjwIBibvfD/fOFQvibHlIk\n NIMBIn5WBVXf4jWd6UgMUx6ljfdaaIxH6h1Td8swEkwZnHZfs1ySBnciqa33O2pqkoeO7l\n K6d5cyHJr2OkyI3fE27Fch5KPzmI3os=","v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_ed25519; t=1777381093;\n h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to:\n cc:cc:mime-version:mime-version:content-type:content-type:\n in-reply-to:in-reply-to:references:references;\n bh=Z2EJLfMq7Cc+3u6R417PX3b+TfJBNS0yPQmzvflTyhs=;\n b=L3B2NKLC/TRUjwcY5wJTQQbbXzJu/zBIFJKW6Y2SdqAqgwETjxqXX6FF2CHonAWxuOaWHR\n qgNiR7Aeog0aoGAw=="],"Date":"Tue, 28 Apr 2026 14:58:04 +0200","From":"Petr Vorel <pvorel@suse.cz>","To":"Wei Gao <wegao@suse.com>","Message-ID":"<20260428125804.GA921372@pevik>","References":"<20260427115941.31945-1-wegao@suse.com>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<20260427115941.31945-1-wegao@suse.com>","X-Spamd-Result":"default: False [-3.71 / 50.00]; BAYES_HAM(-3.00)[100.00%];\n NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[];\n HAS_REPLYTO(0.30)[pvorel@suse.cz];\n R_DKIM_ALLOW(-0.20)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519];\n NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain];\n MX_GOOD(-0.01)[];\n DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519];\n SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from];\n FUZZY_RATELIMITED(0.00)[rspamd.com]; TO_DN_SOME(0.00)[];\n RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from];\n MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[];\n DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo,imap1.dmz-prg2.suse.org:rdns];\n RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_TWO(0.00)[2];\n FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[];\n TO_MATCH_ENVRCPT_ALL(0.00)[];\n RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:106:10:150:64:167:received];\n MISSING_XM_UA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[];\n RCVD_TLS_ALL(0.00)[]; DKIM_TRACE(0.00)[suse.cz:+];\n REPLYTO_EQ_FROM(0.00)[]","X-Rspamd-Action":"no action","X-Spam-Score":"-3.71","X-Spam-Level":"","X-Rspamd-Server":"rspamd1.dmz-prg2.suse.org","X-Rspamd-Queue-Id":"D60D45BD2E","X-Spam-Status":"No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS shortcircuit=no\n autolearn=disabled version=4.0.1","X-Spam-Checker-Version":"SpamAssassin 4.0.1 (2024-03-25) on in-4.smtp.seeweb.it","X-Virus-Scanned":"clamav-milter 1.0.9 at in-4.smtp.seeweb.it","X-Virus-Status":"Clean","Subject":"Re: [LTP] [PATCH v1] mmapstress06: TCONF on systems without swap\n space","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>","Reply-To":"Petr Vorel <pvorel@suse.cz>","Cc":"Li Wang <liwang@linux.dev>, ltp@lists.linux.it","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>"}},{"id":3683567,"web_url":"http://patchwork.ozlabs.org/comment/3683567/","msgid":"<20260428163415.GB921372@pevik>","list_archive_url":null,"date":"2026-04-28T16:34:15","subject":"Re: [LTP] [PATCH v1] mmapstress06: TCONF on systems without swap\n space","submitter":{"id":70792,"url":"http://patchwork.ozlabs.org/api/people/70792/","name":"Petr Vorel","email":"pvorel@suse.cz"},"content":"Hi all,\n\n> Hi all,\n\n> > mmapstress06 is designed to stress the mfile_swap kernel primitive, which\nUh, I overlooked \"mfile_swap kernel primitive\". Then the approach would make\nsense, but is it really true? mfile_swap does not exist any more, not even in a\ngit log. Test was added in January 2003, e.g. even before 2.6.\n\n> > manages shared anonymous memory. On architectures with large pages (like\n> > 64KB on ppc64le), the test's hardcoded request for 32769 pages results\n> > in a ~2GB mapping. So in suse test system configured with 2GB of RAM and\n> > no swap space, the test will fails with following information:\n\nI'm not really sure. if that's caused by missing swap or would it work on\nmachine with RAM big enough which has swap disabled (I guess you retest with\ne.g. 8 GB RAM). Otherwise I'd prefer prefer to deal with errno ENOMEM (12)\ninstead (as I pointed out previously).\n\nKind regards,\nPetr\n\n> > mmapstress06: errno = 12; large mmap failed\n> > for this test to run, it needs a mmap space of\n> > 32769 pages\n\n> > The failure occurs because the 2GB request cannot be fulfilled within\n> > the 2GB RAM limit without swap backing. Since the test specifically\n> > intends to exercise swap-related logic (mfile_swap), it should be skipped\n> > with TCONF when the system lacks swap space.\n\n> > Signed-off-by: Wei Gao <wegao@suse.com>\n> > ---\n> >  testcases/kernel/mem/mmapstress/mmapstress06.c | 8 ++++++++\n...\n> > +\tif (tst_available_swap() <= 0) {\n> > +\t\ttst_resm(TCONF, \"Test requires swap space to exercise mfile_swap logic\");\n> Why to require swap for the test instead of checking for ENOMEM later?\n\n> > +\t\ttst_exit();\n> nit: I'd use tst_brkm() although it has ugly \"Remaining cases broken\" message as\n> it will be more obvious when doing rewrite.\n\n> > +\t}\n\n> How about this? (with cleanup of ugly printf).\n\n> Kind regards,\n> Petr\n\n> +++ testcases/kernel/mem/mmapstress/mmapstress06.c\n> @@ -89,10 +89,12 @@ int main(int argc, char *argv[])\n>  \t    (mmapaddr, (ANON_GRAN_PAGES_MAX * NMFPTEPG + 1) * pagesize,\n>  \t     PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_SHARED, 0,\n>  \t     0) == (caddr_t) - 1) {\n> -\t\tERROR(\"large mmap failed\");\n> -\t\tprintf(\"for this test to run, it needs a mmap space of\\n\");\n> -\t\tprintf(\"%d pages\\n\", (ANON_GRAN_PAGES_MAX * NMFPTEPG + 1));\n> -\t\treturn 1;\n> +\t\tif (errno == ENOMEM) {\n> +\t\t\ttst_brkm(TCONF, NULL, \"not enough memory or swap for mmap() %d pages\",\n> +\t\t\t\t\t ANON_GRAN_PAGES_MAX * NMFPTEPG + 1);\n> +\t\t}\n> +\n> +\t\ttst_brkm(TBROK | TERRNO, NULL, \"mmap() failed\");\n>  \t}\n>  \t(void)sleep(sleep_time);\n>  \t(void)time(&t);","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\" (1024-bit key;\n unprotected) header.d=suse.cz header.i=@suse.cz header.a=rsa-sha256\n header.s=susede2_rsa header.b=G94JzoSq;\n\tdkim=fail reason=\"signature verification failed\" header.d=suse.cz\n header.i=@suse.cz header.a=ed25519-sha256 header.s=susede2_ed25519\n header.b=8g/SvvHb;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key)\n header.d=suse.cz header.i=@suse.cz header.a=rsa-sha256 header.s=susede2_rsa\n header.b=G94JzoSq;\n\tdkim=neutral header.d=suse.cz header.i=@suse.cz header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=8g/SvvHb;\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)","smtp-out2.suse.de;\n\tnone"],"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 4g4mHC2g6Zz1xvV\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 02:34:31 +1000 (AEST)","from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id 10ED13E49F6\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 28 Apr 2026 18:34:29 +0200 (CEST)","from in-6.smtp.seeweb.it (in-6.smtp.seeweb.it\n [IPv6:2001:4b78:1:20::6])\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 B94083C2C93\n for <ltp@lists.linux.it>; Tue, 28 Apr 2026 18:34:23 +0200 (CEST)","from smtp-out2.suse.de (smtp-out2.suse.de\n [IPv6:2a07:de40:b251:101:10:150:64:2])\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-6.smtp.seeweb.it (Postfix) with ESMTPS id 4233F1400353\n for <ltp@lists.linux.it>; Tue, 28 Apr 2026 18:34:22 +0200 (CEST)","from imap1.dmz-prg2.suse.org (unknown [10.150.64.97])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-out2.suse.de (Postfix) with ESMTPS id 631785BD6D;\n Tue, 28 Apr 2026 16:34:21 +0000 (UTC)","from imap1.dmz-prg2.suse.org (localhost [127.0.0.1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 08019593B0;\n Tue, 28 Apr 2026 16:34:20 +0000 (UTC)","from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167])\n by imap1.dmz-prg2.suse.org with ESMTPSA id wV95OYzh8GlLKgAAD6G6ig\n (envelope-from <pvorel@suse.cz>); Tue, 28 Apr 2026 16:34:20 +0000"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_rsa;\n t=1777394061;\n h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to:\n cc:cc:mime-version:mime-version:content-type:content-type:\n in-reply-to:in-reply-to:references:references;\n bh=rYEwdkjdGr9A90C0qtIYA+n9JqSJTSqSPRB2njkxgw8=;\n b=G94JzoSqLpFYl9oRac9uw4JfdvlGToOFJlFZpxhuWpUb4E49AsIUQK70/X3VKkTMBdJyGW\n 3kowXjK8KUgNE+3bqG05qUHCeCLacwLUAEQOuiHMEBwcGVUB0zMhdUr+C0ZF7BoxKEvmOq\n FYLcd6tI0w12j1rQFuvSmyrBRBsblfw=","v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_ed25519; t=1777394061;\n h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to:\n cc:cc:mime-version:mime-version:content-type:content-type:\n in-reply-to:in-reply-to:references:references;\n bh=rYEwdkjdGr9A90C0qtIYA+n9JqSJTSqSPRB2njkxgw8=;\n b=8g/SvvHbx4rIpves5ZzOFsqI7DtTmmXPXw/I9DQ1WdDwYc5nYuC++MKvTpv2cyB7cObnES\n znx8NnkOTSyGxiCA==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_rsa;\n t=1777394061;\n h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to:\n cc:cc:mime-version:mime-version:content-type:content-type:\n in-reply-to:in-reply-to:references:references;\n bh=rYEwdkjdGr9A90C0qtIYA+n9JqSJTSqSPRB2njkxgw8=;\n b=G94JzoSqLpFYl9oRac9uw4JfdvlGToOFJlFZpxhuWpUb4E49AsIUQK70/X3VKkTMBdJyGW\n 3kowXjK8KUgNE+3bqG05qUHCeCLacwLUAEQOuiHMEBwcGVUB0zMhdUr+C0ZF7BoxKEvmOq\n FYLcd6tI0w12j1rQFuvSmyrBRBsblfw=","v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_ed25519; t=1777394061;\n h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to:\n cc:cc:mime-version:mime-version:content-type:content-type:\n in-reply-to:in-reply-to:references:references;\n bh=rYEwdkjdGr9A90C0qtIYA+n9JqSJTSqSPRB2njkxgw8=;\n b=8g/SvvHbx4rIpves5ZzOFsqI7DtTmmXPXw/I9DQ1WdDwYc5nYuC++MKvTpv2cyB7cObnES\n znx8NnkOTSyGxiCA=="],"Date":"Tue, 28 Apr 2026 18:34:15 +0200","From":"Petr Vorel <pvorel@suse.cz>","To":"Wei Gao <wegao@suse.com>, Li Wang <liwang@linux.dev>,\n\tltp@lists.linux.it","Message-ID":"<20260428163415.GB921372@pevik>","References":"<20260427115941.31945-1-wegao@suse.com>\n <20260428125804.GA921372@pevik>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<20260428125804.GA921372@pevik>","X-Spam-Score":"-3.50","X-Spam-Level":"","X-Spamd-Result":"default: False [-3.50 / 50.00]; BAYES_HAM(-3.00)[100.00%];\n NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[];\n HAS_REPLYTO(0.30)[pvorel@suse.cz];\n NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain];\n ARC_NA(0.00)[]; FUZZY_RATELIMITED(0.00)[rspamd.com];\n MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[];\n TO_DN_SOME(0.00)[]; MISSING_XM_UA(0.00)[];\n RCVD_TLS_ALL(0.00)[]; RCPT_COUNT_FIVE(0.00)[5];\n FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[];\n DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519];\n RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[];\n DBL_BLOCKED_OPENRESOLVER(0.00)[suse.cz:replyto,suse.com:email,imap1.dmz-prg2.suse.org:helo];\n REPLYTO_EQ_FROM(0.00)[]","X-Spam-Status":"No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS shortcircuit=no\n autolearn=disabled version=4.0.1","X-Spam-Checker-Version":"SpamAssassin 4.0.1 (2024-03-25) on in-6.smtp.seeweb.it","X-Virus-Scanned":"clamav-milter 1.0.9 at in-6.smtp.seeweb.it","X-Virus-Status":"Clean","Subject":"Re: [LTP] [PATCH v1] mmapstress06: TCONF on systems without swap\n space","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>","Reply-To":"Petr Vorel <pvorel@suse.cz>","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>"}},{"id":3683776,"web_url":"http://patchwork.ozlabs.org/comment/3683776/","msgid":"<afFrf9OtAUkcOjLT@autotest-wegao.qe.prg2.suse.org>","list_archive_url":null,"date":"2026-04-29T02:22:55","subject":"Re: [LTP] [PATCH v1] mmapstress06: TCONF on systems without swap\n space","submitter":{"id":85577,"url":"http://patchwork.ozlabs.org/api/people/85577/","name":"Wei Gao","email":"wegao@suse.com"},"content":"On Tue, Apr 28, 2026 at 06:34:15PM +0200, Petr Vorel wrote:\n> Hi all,\n> \n> > Hi all,\n> \n> > > mmapstress06 is designed to stress the mfile_swap kernel primitive, which\n> Uh, I overlooked \"mfile_swap kernel primitive\". Then the approach would make\n> sense, but is it really true? mfile_swap does not exist any more, not even in a\n> git log. Test was added in January 2003, e.g. even before 2.6.\n> \n> > > manages shared anonymous memory. On architectures with large pages (like\n> > > 64KB on ppc64le), the test's hardcoded request for 32769 pages results\n> > > in a ~2GB mapping. So in suse test system configured with 2GB of RAM and\n> > > no swap space, the test will fails with following information:\n> \n> I'm not really sure. if that's caused by missing swap or would it work on\n> machine with RAM big enough which has swap disabled (I guess you retest with\n> e.g. 8 GB RAM). Otherwise I'd prefer prefer to deal with errno ENOMEM (12)\n> instead (as I pointed out previously).\n> \n\nBase description/implementation of test case, The original test is \"passive,\" merely creating a \nmapping and relying on external processes to trigger swapping(case has sleep_time parameter).\nFurther more, this case is \"ghost test\" for current kernel, it do mmap but never \nwrites to it, so kernel never actually allocated memory, \nTogether with current obsolete logic(test targets legcy mfile_swap) i suggest just delete \nit instead of wasting time patching(refactor) it. What do you think? @Petr @wang li?","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=pass (1024-bit key;\n unprotected) header.d=lists.linux.it header.i=@lists.linux.it\n header.a=rsa-sha256 header.s=picard header.b=EZf9AcKh;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=suse.com header.i=@suse.com header.a=rsa-sha256\n header.s=google header.b=YwKVniKR;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it\n (client-ip=213.254.12.146; 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 [213.254.12.146])\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 4g51LN3PZ1z1xvV\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 12:23:06 +1000 (AEST)","from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id 442DF3E28C1\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 04:23:03 +0200 (CEST)","from in-4.smtp.seeweb.it (in-4.smtp.seeweb.it\n [IPv6:2001:4b78:1:20::4])\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 AA4E13CFB7E\n for <ltp@lists.linux.it>; Wed, 29 Apr 2026 04:22:58 +0200 (CEST)","from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com\n [IPv6:2a00:1450:4864:20::42c])\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-4.smtp.seeweb.it (Postfix) with ESMTPS id BB98B1000977\n for <ltp@lists.linux.it>; Wed, 29 Apr 2026 04:22:57 +0200 (CEST)","by mail-wr1-x42c.google.com with SMTP id\n ffacd0b85a97d-44261378651so221184f8f.0\n for <ltp@lists.linux.it>; Tue, 28 Apr 2026 19:22:57 -0700 (PDT)","from autotest-wegao.qe.prg2.suse.org\n ([2a07:de40:b240:0:2ad6:ed42:2ad6:ed42])\n by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-447b7217cb3sm1750096f8f.18.2026.04.28.19.22.56\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 28 Apr 2026 19:22:56 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=lists.linux.it;\n i=@lists.linux.it; q=dns/txt; s=picard; t=1777429383; h=date : to :\n message-id : references : mime-version : in-reply-to : subject :\n list-id : list-unsubscribe : list-archive : list-post : list-help :\n list-subscribe : from : reply-to : cc : content-type :\n content-transfer-encoding : sender : from;\n bh=UnbzBzpVpCeAhHsFEV1j6ZzZYRmwqEpzpTjj5vMDCkM=;\n b=EZf9AcKhWN8kPTPabslvysGPFEyzoDPE1KGOvwrl+mkGhjBL5iH5EU2yh46WKKfUXWhh2\n 0512v7y6/710VZlJD/0ihVQv91A+MqaLWgjCAGs/pMZkvzAaP8zYYWGOjrxRVhjs8d0sxK4\n yW6XfVcXuQ7hXH9JOUhXxe1bHS9RSz8=","v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=suse.com; s=google; t=1777429377; x=1778034177; darn=lists.linux.it;\n h=in-reply-to:content-disposition:mime-version:references:message-id\n :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to;\n bh=7/6q9P6YJp4RUo9LNJ60H41YG7O7J6VDDpuLLT8cZ9U=;\n b=YwKVniKRK3UJ1qbdFAYUuFAutY5Jn0XFcfys7g4ZpyShFNGXegDUbJ1H5ZrbZpSfxA\n 4K9lG4roqFZ0E/cr260uLP7XD/Gxt3/7gOmmZtLs5MWEaxDsDgWg8Xa2eEXJXT7gsMHZ\n JQOuHEeIyqYzMvDLwaGAfZaW+OWVkbbqwnrSTutdga1Fa5i2APE01peVxUqIiLEzrlbv\n vpvebm7Zzfs/9z3wlpEC1zbj8nvnK7e3OrUKeIlE45MML1BcX2NqJv12zQd8u73OOa4M\n Bxm6h0BTLZFiz6w2tLbKLewjDgdHyMxgdsVG/7KTs77tCPtGGRJy0cD/LYQb9YD0dXPF\n zpBA=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777429377; x=1778034177;\n h=in-reply-to:content-disposition:mime-version:references:message-id\n :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=7/6q9P6YJp4RUo9LNJ60H41YG7O7J6VDDpuLLT8cZ9U=;\n b=XODyNS/n/o+1jmHIyog2WOlxj8TsMMVcEssA0S5PdAUR1Zdb2M5EVNgOzxAEK+hIK4\n KsgMVYfqh8c6TA3csGCqXD2NBFgexmEQ/NX3WNko/jDoGH4FY/rGU4oLTXO11xhctArG\n 6XIzHV45AXIo72pi2IRaya4GuLMJixIanXnkDLcjqS02LJeu7OqBZXsUPjRmOIFzuui3\n DjUMB8VUcjeFvKNbUHq58WelYNKrln93myeGzl00nEUHSOjE0E6zPMmP+BTJoOZcGe1Q\n CCJBwaQzZF1HJbgPJOfr1RtaYLFbvubADXuDYqFXKKGJbC2KXJgUVpX7XspoHXi7Cru0\n vlug==","X-Forwarded-Encrypted":"i=1;\n AFNElJ8SOxulhKklkyLo4MXRR4zUqcOsNRHBf4iFf5Q2COOVQ99NWWUoYBI919eD0WT9jYpjaa0=@lists.linux.it","X-Gm-Message-State":"AOJu0YzfhjI8oKulorwORmc4EpFyq31ChUDPemA+jNwZS+A8gAq0ewU9\n 4XCNjL0pk7nZeLMdtpwiYJN34ql/Aub+UQSeNTAL3YAr/4HdAS8X2lXnVluH6v806Q==","X-Gm-Gg":"AeBDietpSAwp/VMXe+4FRlcoUX8RY1jQ4EcoQtnftwB98TfUojh96E/KJhnyC2PRyQA\n 4CcepLv5/BuJRP7WaLFMrv4y6ipJK6RNLqBxmA+3d8SzoUYLVYnLPgb2nagEugOGCuDO38MXkcy\n ejhAAs/1+Jwu5QPOCV1XWt86fxCTsOQi9Pbq3fozQlSUeJ4K95OLmiMIb+2PvSOF4OHEksLvuoY\n 20VBpoPmEPIf6W34mayW14jYQ1udnLILMt4f15KqJ2RcwWyl5LV5bem5aagHmCim6eVYYpDS+Tg\n pNYuBKae+vYBAuJBM0NVLegLP5aKPm6rnrTJLn2RYUcfb1AW2pxdqBvg3JLeEdLmDylvopeRErP\n Sy4sxYKxTsyeeq137anY+posatXR4sUvXBQyjHo1DsGUXtG6N1NchxJ07q3mQyHp0i43UUM8Re7\n sfy74HuHrcLRuSlI0cvbZLZSFySsoXLL9GyzJ/MWRI0rRq5sGTQOQ=","X-Received":"by 2002:a05:6000:2704:b0:441:30d8:f023 with SMTP id\n ffacd0b85a97d-447a3516993mr1445545f8f.6.1777429377142;\n Tue, 28 Apr 2026 19:22:57 -0700 (PDT)","Date":"Wed, 29 Apr 2026 02:22:55 +0000","To":"Petr Vorel <pvorel@suse.cz>","Message-ID":"<afFrf9OtAUkcOjLT@autotest-wegao.qe.prg2.suse.org>","References":"<20260427115941.31945-1-wegao@suse.com>\n <20260428125804.GA921372@pevik> <20260428163415.GB921372@pevik>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<20260428163415.GB921372@pevik>","X-Spam-Status":"No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS shortcircuit=no\n autolearn=disabled version=4.0.1","X-Spam-Checker-Version":"SpamAssassin 4.0.1 (2024-03-25) on in-4.smtp.seeweb.it","X-Virus-Scanned":"clamav-milter 1.0.9 at in-4.smtp.seeweb.it","X-Virus-Status":"Clean","Subject":"Re: [LTP] [PATCH v1] mmapstress06: TCONF on systems without swap\n space","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>","From":"Wei Gao via ltp <ltp@lists.linux.it>","Reply-To":"Wei Gao <wegao@suse.com>","Cc":"Li Wang <liwang@linux.dev>, ltp@lists.linux.it","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>"}},{"id":3683817,"web_url":"http://patchwork.ozlabs.org/comment/3683817/","msgid":"<20260429061043.GA539072@pevik>","list_archive_url":null,"date":"2026-04-29T06:10:43","subject":"Re: [LTP] [PATCH v1] mmapstress06: TCONF on systems without swap\n space","submitter":{"id":70792,"url":"http://patchwork.ozlabs.org/api/people/70792/","name":"Petr Vorel","email":"pvorel@suse.cz"},"content":"> On Tue, Apr 28, 2026 at 06:34:15PM +0200, Petr Vorel wrote:\n> > Hi all,\n\n> > > Hi all,\n\n> > > > mmapstress06 is designed to stress the mfile_swap kernel primitive, which\n> > Uh, I overlooked \"mfile_swap kernel primitive\". Then the approach would make\n> > sense, but is it really true? mfile_swap does not exist any more, not even in a\n> > git log. Test was added in January 2003, e.g. even before 2.6.\n\n> > > > manages shared anonymous memory. On architectures with large pages (like\n> > > > 64KB on ppc64le), the test's hardcoded request for 32769 pages results\n> > > > in a ~2GB mapping. So in suse test system configured with 2GB of RAM and\n> > > > no swap space, the test will fails with following information:\n\n> > I'm not really sure. if that's caused by missing swap or would it work on\n> > machine with RAM big enough which has swap disabled (I guess you retest with\n> > e.g. 8 GB RAM). Otherwise I'd prefer prefer to deal with errno ENOMEM (12)\n> > instead (as I pointed out previously).\n\n\n> Base description/implementation of test case, The original test is \"passive,\" merely creating a \n> mapping and relying on external processes to trigger swapping(case has sleep_time parameter).\n> Further more, this case is \"ghost test\" for current kernel, it do mmap but never \n> writes to it, so kernel never actually allocated memory, \n> Together with current obsolete logic(test targets legcy mfile_swap) i suggest just delete \n> it instead of wasting time patching(refactor) it. What do you think? @Petr @wang li?\n\nI'm ok with deleting, but i hope others will have look on it as well.\n\nKind regards,\nPetr","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\" (1024-bit key;\n unprotected) header.d=suse.cz header.i=@suse.cz header.a=rsa-sha256\n header.s=susede2_rsa header.b=gxfoVG6J;\n\tdkim=fail reason=\"signature verification failed\" header.d=suse.cz\n header.i=@suse.cz header.a=ed25519-sha256 header.s=susede2_ed25519\n header.b=aa/Z8Ht/;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key)\n header.d=suse.cz header.i=@suse.cz header.a=rsa-sha256 header.s=susede2_rsa\n header.b=gxfoVG6J;\n\tdkim=neutral header.d=suse.cz header.i=@suse.cz header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=aa/Z8Ht/;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it\n (client-ip=213.254.12.146; helo=picard.linux.it;\n envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it;\n receiver=patchwork.ozlabs.org)","smtp-out2.suse.de;\n dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=gxfoVG6J;\n dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=\"aa/Z8Ht/\""],"Received":["from picard.linux.it (picard.linux.it [213.254.12.146])\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 4g56PJ0hPYz1yHX\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 16:11:00 +1000 (AEST)","from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id 6AB023E18C7\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 08:10:57 +0200 (CEST)","from in-6.smtp.seeweb.it (in-6.smtp.seeweb.it [217.194.8.6])\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 7320D3D03F5\n for <ltp@lists.linux.it>; Wed, 29 Apr 2026 08:10:52 +0200 (CEST)","from smtp-out2.suse.de (smtp-out2.suse.de\n [IPv6:2a07:de40:b251:101:10:150:64:2])\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-6.smtp.seeweb.it (Postfix) with ESMTPS id 91C871400C60\n for <ltp@lists.linux.it>; Wed, 29 Apr 2026 08:10:51 +0200 (CEST)","from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org\n [IPv6:2a07:de40:b281:104:10:150:64:97])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-out2.suse.de (Postfix) with ESMTPS id 9B6C75BD3F;\n Wed, 29 Apr 2026 06:10:44 +0000 (UTC)","from imap1.dmz-prg2.suse.org (localhost [127.0.0.1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 75FC1593B0;\n Wed, 29 Apr 2026 06:10:44 +0000 (UTC)","from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167])\n by imap1.dmz-prg2.suse.org with ESMTPSA id r7XSG+Sg8WnDQgAAD6G6ig\n (envelope-from <pvorel@suse.cz>); Wed, 29 Apr 2026 06:10:44 +0000"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_rsa;\n t=1777443044;\n h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to:\n cc:cc:mime-version:mime-version:content-type:content-type:\n in-reply-to:in-reply-to:references:references;\n bh=ZoYkLNZdDDtbXfm4XXwBQQQe3dfYSdtnWbJno9gORSE=;\n b=gxfoVG6JVoT4YWN6B5lFAQDaXGzxRXFbbLWVfancNQPuW2apUOaiGcOrhmenGvZz68bG9l\n 00eHdELLTuCIiZRoJJVF0H7MNdUBH8TqIaDqoiDXX9ii4hBcn/m9msSf9O3F62ka2932Sj\n LUaA1yhBts+P2sEhNzxeXsGIkDlQPRQ=","v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_ed25519; t=1777443044;\n h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to:\n cc:cc:mime-version:mime-version:content-type:content-type:\n in-reply-to:in-reply-to:references:references;\n bh=ZoYkLNZdDDtbXfm4XXwBQQQe3dfYSdtnWbJno9gORSE=;\n b=aa/Z8Ht/2rUKp6bqo11ZicPqhlDmm3jUkJpyGXCfQCwnbCR5UAq6JsZQNC0ULxMS3O2mvP\n pc+428blH/d7T8Cg==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_rsa;\n t=1777443044;\n h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to:\n cc:cc:mime-version:mime-version:content-type:content-type:\n in-reply-to:in-reply-to:references:references;\n bh=ZoYkLNZdDDtbXfm4XXwBQQQe3dfYSdtnWbJno9gORSE=;\n b=gxfoVG6JVoT4YWN6B5lFAQDaXGzxRXFbbLWVfancNQPuW2apUOaiGcOrhmenGvZz68bG9l\n 00eHdELLTuCIiZRoJJVF0H7MNdUBH8TqIaDqoiDXX9ii4hBcn/m9msSf9O3F62ka2932Sj\n LUaA1yhBts+P2sEhNzxeXsGIkDlQPRQ=","v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_ed25519; t=1777443044;\n h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to:\n cc:cc:mime-version:mime-version:content-type:content-type:\n in-reply-to:in-reply-to:references:references;\n bh=ZoYkLNZdDDtbXfm4XXwBQQQe3dfYSdtnWbJno9gORSE=;\n b=aa/Z8Ht/2rUKp6bqo11ZicPqhlDmm3jUkJpyGXCfQCwnbCR5UAq6JsZQNC0ULxMS3O2mvP\n pc+428blH/d7T8Cg=="],"Date":"Wed, 29 Apr 2026 08:10:43 +0200","From":"Petr Vorel <pvorel@suse.cz>","To":"Wei Gao <wegao@suse.com>","Message-ID":"<20260429061043.GA539072@pevik>","References":"<20260427115941.31945-1-wegao@suse.com>\n <20260428125804.GA921372@pevik> <20260428163415.GB921372@pevik>\n <afFrf9OtAUkcOjLT@autotest-wegao.qe.prg2.suse.org>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<afFrf9OtAUkcOjLT@autotest-wegao.qe.prg2.suse.org>","X-Rspamd-Action":"no action","X-Rspamd-Server":"rspamd2.dmz-prg2.suse.org","X-Spamd-Result":"default: False [-3.71 / 50.00]; BAYES_HAM(-3.00)[100.00%];\n NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[];\n HAS_REPLYTO(0.30)[pvorel@suse.cz];\n R_DKIM_ALLOW(-0.20)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519];\n NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain];\n MX_GOOD(-0.01)[];\n DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519];\n MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[];\n SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from];\n FUZZY_RATELIMITED(0.00)[rspamd.com]; TO_DN_SOME(0.00)[];\n DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo,imap1.dmz-prg2.suse.org:rdns,suse.cz:dkim,suse.cz:replyto];\n RCVD_TLS_ALL(0.00)[]; RCPT_COUNT_FIVE(0.00)[6];\n RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[];\n FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[];\n DNSWL_BLOCKED(0.00)[2a07:de40:b281:106:10:150:64:167:received,2a07:de40:b281:104:10:150:64:97:from];\n MISSING_XM_UA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[];\n DKIM_TRACE(0.00)[suse.cz:+]; REPLYTO_EQ_FROM(0.00)[]","X-Rspamd-Queue-Id":"9B6C75BD3F","X-Spam-Score":"-3.71","X-Spam-Level":"","X-Spam-Status":"No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS shortcircuit=no\n autolearn=disabled version=4.0.1","X-Spam-Checker-Version":"SpamAssassin 4.0.1 (2024-03-25) on in-6.smtp.seeweb.it","X-Virus-Scanned":"clamav-milter 1.0.9 at in-6.smtp.seeweb.it","X-Virus-Status":"Clean","Subject":"Re: [LTP] [PATCH v1] mmapstress06: TCONF on systems without swap\n space","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>","Reply-To":"Petr Vorel <pvorel@suse.cz>","Cc":"Li Wang <liwang@linux.dev>, ltp@lists.linux.it","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>"}},{"id":3684517,"web_url":"http://patchwork.ozlabs.org/comment/3684517/","msgid":"<8487d43450ec53d7fdb2110cd653231d31b91d43@linux.dev>","list_archive_url":null,"date":"2026-04-30T08:01:12","subject":"Re: [LTP] [PATCH v1] mmapstress06: TCONF on systems without swap\n space","submitter":{"id":93238,"url":"http://patchwork.ozlabs.org/api/people/93238/","name":"Li Wang","email":"li.wang@linux.dev"},"content":"Hi Wei, Petr,\n\nWei Gao via ltp wrote:\n\n> Base description/implementation of test case, The original test is \"passive,\" merely creating a \n> mapping and relying on external processes to trigger swapping(case has sleep_time parameter).\n> Further more, this case is \"ghost test\" for current kernel, it do mmap but never \n> writes to it, so kernel never actually allocated memory, \n> Together with current obsolete logic(test targets legcy mfile_swap) i suggest just delete \n> it instead of wasting time patching(refactor) it. What do you think? @Petr @wang li?\n\nAfter looking into the details of mmapstress06, I agree that this\ntest only simulates progress and still requires another stress\ntester to create memory pressure and trigger swapping.\n\nInstead of removing this test, I prefer to refactor it into a\nnew API and encapsulate the orignial method within Cgroups.\n\ne.g.\n\n 1. Check system swap availability\n 2. Create cgroup with memory.max and memory.swap.max limits\n 3. Create large anonymous shared mapping (original size)\n 4. Allocate stress region: size > memory.max in child\n 5. Ditry every page in stress region\n 6. Check process VmSwap increase\n 7. Cleanup","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\" (1024-bit key;\n unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256\n header.s=key1 header.b=mpwwPeae;\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 4g5mtK0K5vz1yHZ\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 18:04:56 +1000 (AEST)","from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id 1D7D33E2CDB\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 10:01:20 +0200 (CEST)","from in-5.smtp.seeweb.it (in-5.smtp.seeweb.it [217.194.8.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 A3E603E1BA0\n for <ltp@lists.linux.it>; Thu, 30 Apr 2026 10:01:16 +0200 (CEST)","from out-179.mta0.migadu.com (out-179.mta0.migadu.com\n [IPv6:2001:41d0:1004:224b::b3])\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 A972760080C\n for <ltp@lists.linux.it>; Thu, 30 Apr 2026 10:01:14 +0200 (CEST)"],"MIME-Version":"1.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1;\n t=1777536073;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=H4cGIcXFpN8V/PeAwxlmGQlnR6Davjcs2i+M8ASKuVI=;\n b=mpwwPeaeZnxyz8dl2X/Hp/qZJ9TaVD2qQvPvCD5jsACMvkoRw+xd/tb/ujSRsuVAb28iyI\n 0NfPpWtoW927cDpg7cJ4MV/M5oDtEPYfxS0q5I439+etdPJrvOEceoEL82/bzYRCWQIpi1\n BHuaqTBr5KsdZH2AyucQ6++dG3shxQQ=","Date":"Thu, 30 Apr 2026 08:01:12 +0000","X-Report-Abuse":"Please report any abuse attempt to abuse@migadu.com and\n include these headers.","From":"\"Li Wang\" <li.wang@linux.dev>","Message-ID":"<8487d43450ec53d7fdb2110cd653231d31b91d43@linux.dev>","TLS-Required":"No","To":"\"Wei Gao\" <wegao@suse.com>","In-Reply-To":"<afFrf9OtAUkcOjLT@autotest-wegao.qe.prg2.suse.org>","References":"<20260427115941.31945-1-wegao@suse.com>\n <20260428125804.GA921372@pevik> <20260428163415.GB921372@pevik>\n <afFrf9OtAUkcOjLT@autotest-wegao.qe.prg2.suse.org>","X-Migadu-Flow":"FLOW_OUT","X-Spam-Status":"No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS shortcircuit=no\n 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":"Re: [LTP] [PATCH v1] mmapstress06: TCONF on systems without swap\n space","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=\"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>"}}]