From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BD199FF8867 for ; Tue, 28 Apr 2026 01:40:02 +0000 (UTC) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 2BD2E3E28AD for ; Tue, 28 Apr 2026 03:40:01 +0200 (CEST) Received: from in-6.smtp.seeweb.it (in-6.smtp.seeweb.it [IPv6:2001:4b78:1:20::6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id C561A3CA6DC for ; Tue, 28 Apr 2026 03:39:41 +0200 (CEST) Received: from out-181.mta1.migadu.com (out-181.mta1.migadu.com [95.215.58.181]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by in-6.smtp.seeweb.it (Postfix) with ESMTPS id A7720140035C for ; 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; t=1777340378; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=39yVV/5bZEBErw15r/W5tch5FwhGTkNYRsWXYTDUGQQ=; b=smoVA9cOHxdUhFypxuoJNUXrSddBF249Z31fjU8UZDD+cZwF0yV6NfMd5tFg/5zRU+T2NS m6J6dAQbmyCZOsV/6cqzv4rSQB0Edinxx7HBIyb/E1NtIlOOsvptEqaWWgQctrorXUPqJj TI0dFu0UXAuElnp2jQ0RdkEXIzm/a5E= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Li Wang To: Wei Gao Message-ID: Mail-Followup-To: Wei Gao , ltp@lists.linux.it References: <20260427115941.31945-1-wegao@suse.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT 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 space X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ltp@lists.linux.it Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-bounces+ltp=archiver.kernel.org@lists.linux.it Sender: "ltp" On Mon, Apr 27, 2026 at 01:57:28PM +0000, Wei Gao via ltp wrote: > > > Hi Wei, > > > > Wei Gao via ltp wrote: > > > > > mmapstress06 is designed to stress the mfile_swap kernel primitive, which > > > manages shared anonymous memory. On architectures with large pages (like > > > 64KB on ppc64le), the test's hardcoded request for 32769 pages results > > > in a ~2GB mapping. So in suse test system configured with 2GB of RAM and > > > no swap space, the test will fails with following information: > > > > > > mmapstress06: errno = 12; large mmap failed > > > for this test to run, it needs a mmap space of > > > 32769 pages > > > > > > The failure occurs because the 2GB request cannot be fulfilled within > > > the 2GB RAM limit without swap backing. Since the test specifically > > > intends to exercise swap-related logic (mfile_swap), it should be skipped > > > with TCONF when the system lacks swap space. > > > > Since we do have MAKE_SWAPFILE_SIZE macros, I guess we could create > > a dedicated swap-file for the testing on those system? > Sorry forget mention this failure happen in our Immutable/Transactional > systems test (default disable swap), i am not sure enable swap force do > test is make sense or not. Ok, if that system does not support swap on purpose, that we can do the skip. Reviewed-by: Li Wang -- Regards, Li Wang -- Mailing list info: https://lists.linux.it/listinfo/ltp