From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from stravinsky.debian.org (stravinsky.debian.org [82.195.75.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C68FB32B11F for ; Mon, 8 Jun 2026 18:44:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=82.195.75.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780944253; cv=none; b=oQuGytYJnAkCdn4W4GkmDIK3Prgr+u8pMcUJCgJfmccMdKW6apFzP7y5p464URuY+nY4BidzALekysvW/Bq3Ci03BkBEzhfsGv5gAvSjPP4DvYxe9oHq50BFfHkc/wbRLzSAZEsRMI2QlFkn1EEymsd8vdVnBtYy4ofrZvT9YcE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780944253; c=relaxed/simple; bh=+M9YS8vvEFO99PPfv9ToMuZ1cFWW9RLydmtuKJJ/Q7k=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lH6oZdpoWXBiID6XnkCl+y93s5PaNQWyOJiP8h5JgMz6jPEafj/bxy36SRa8j2nuAoOJTWxd0TcxJq+5/Y2z/yWGxb1HAR1rUUPKychdyDtm8+tqrdt0JpcByLBgoGCTspTRfuC5jCMfSkD/gX+F+Gin2greXWNue1kHBAcYAks= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=debian.org; spf=pass smtp.mailfrom=debian.org; dkim=pass (2048-bit key) header.d=debian.org header.i=@debian.org header.b=IQEoXncK; arc=none smtp.client-ip=82.195.75.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=debian.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=debian.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=debian.org header.i=@debian.org header.b="IQEoXncK" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; s=smtpauto.stravinsky; h=X-Debian-User:In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=GwBiHVcTIwU23ez3utO3xiVt0Y+QxSFYS1mTZ45q6cg=; b=IQEoXncKUTdUxplFzzRG2lBz3R JMFRV+E2nAy9d+YZqPxV2122OL+sw346nI9qiOymcfTNm4wddkBMu6sdop3Q7Hw6mesgnmoLgVGLG Z5XuECT29c+gdnS6BPHHc1YSZ8bTaMeG5BE82MV3Ue7v74J8iIR//CMB8jXEqkGG9e0waVdkA1dIT X7hnIOApLAriHqBPtJmoxly3gzgL+hn0ihzjddPfWxGw3p2EC93MIfZnvDc96FaOEJW36gaURzTUK SpSfepIDQcccMlDpgbODi+uKqOsKDxjcjmhR4Zx9kA0HmUpAWDNsgzQwGG7wm3U0j3dgULs5z78Oq ZlrOgVWw==; Received: from authenticated-user by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1wWexB-007pEn-2k; Mon, 08 Jun 2026 18:44:06 +0000 Date: Mon, 8 Jun 2026 20:44:03 +0200 From: Chris Hofstaedtler To: Karel Zak , 1138789@bugs.debian.org Cc: util-linux@vger.kernel.org, Johannes =?utf-8?Q?W=C3=BCller?= , debian-loongarch@lists.debian.org Subject: Re: Bug#1138789: [PATCH] mkswap: use 64k pages in file-existing test Message-ID: References: Precedence: bulk X-Mailing-List: util-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Debian-User: zeha On Mon, Jun 08, 2026 at 01:00:58PM +0200, Karel Zak wrote: > On Thu, Jun 04, 2026 at 02:20:56PM +0200, Chris Hofstaedtler wrote: > > Some systems run with kernels using page sizes other than 4K. The > > file-existing test used a file of 10 pages at 4K. This would fail on > > kernels with higher page sizes (here 16K) like this: > > > > mkswap: error: swap area needs to be at least 160 KiB > > > > Use 10 * 64K pages, hopefully allowing all kernels with 4K, 16K, 64K > > pages to pass the tests. > > > > Noticed on Debian loong64 kernel 7.0.9+deb14-loong64, and on sparc64 and > > alpha. > > > > Bug: https://bugs.debian.org/1138789 > > It was already fixed by commit c5da6dcfe, which explicitly forces the > page size to 4096 rather than extending the file size. Ah, thank you! I've pulled this commit into our build. Best, Chris