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 843FB32B13B for ; Wed, 12 Aug 2026 11:05:48 +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=1786532750; cv=none; b=UvjTPxDLz/ILY1/1LxJ0eCIEtKSN3jh9qdSjAFYnb6mqHG9WxLjhA6IZD3+RAViyp+SP8rbQW7gNJDfrJRjYUVthredZd9bmzWsSXyqOqaGztT1+FX4nHn5x4YNLQ79EA4CIVFTVkGAPq8PRvAlbi83meWnapq8Oy79NpZuFE0I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786532750; c=relaxed/simple; bh=73Id/VXX7L7I/zZ1hItoT/NYrYPZi2xWEod07ENssZQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gW+tryVP8eTfoHXZihqacnmFj4FDWiqTwD9hUBu8ctgZRf7NdQiXtxcjtZbUUku/iDQig1JEYKAMBwMzfe3NZFFOv3/leM7xVQbER23XnGRm/mnKIRbZO3wxenE2CKkQy6xvyfVzARm8tS1t1lyvPCOL4/qEANLMWvW9GOFMeJg= 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=IIoOqjaQ; 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="IIoOqjaQ" 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=w2apc6v0QyxEHj1VT4UFCYU/Xgf8d/neWcW5aoUtuf4=; b=IIoOqjaQhu4BnbYR28jckH5yD+ x9mZCttH/rA68W8Uts3XCDflZ77niHUFCUUrvf7UYJReCuzy7YBkabFWhZOyGozqqCYyDL+IqHFTf CM0bGfB6fDTNLpxH9+2GY5uzBFGqtyXc8EHksB+OlytQGwtWrJUK+8AeIgGGfRbvRt3EDDrmYUW5B xCq7PHBYE+ewsxn+1x6wW4wa1euIcOosU5DKdfDNH+OEGecvicOm0aFYDHp23dvlU81DLUeKb2TIj jHmWLZNaKzhQCoYXwwHM2qHAs5uYmtMlK4y0vOcpE4zrx182R4mb9cZkA5vxseFln4I42LWxjGKkV fVWD79eA==; Received: from authenticated-user by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1wu6le-004IUn-3C; Wed, 12 Aug 2026 11:05:07 +0000 Date: Wed, 12 Aug 2026 04:05:00 -0700 From: Breno Leitao To: Andrew Morton Cc: Chris Li , Kairui Song , Kemeng Shi , Nhat Pham , Baoquan He , Barry Song , Youngjun Park , David Hildenbrand , Lorenzo Stoakes , "Liam R. Howlett" , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , Jann Horn , Pedro Falcato , Hugh Dickins , Baolin Wang , Peter Xu , Johannes Weiner , Yosry Ahmed , Chengming Zhou , linux-mm@kvack.org, linux-kernel@vger.kernel.org, kernel-team@meta.com Subject: Re: [PATCH 0/3] mm, swap: don't spin or flood the console on a bad swap entry Message-ID: References: <20260810-swap-v1-0-375ef0767206@debian.org> <20260810102034.547699380bbe7aeb232344a9@linux-foundation.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260810102034.547699380bbe7aeb232344a9@linux-foundation.org> X-Debian-User: leitao On Mon, Aug 10, 2026 at 10:20:34AM -0700, Andrew Morton wrote: > On Mon, 10 Aug 2026 09:26:48 -0700 Breno Leitao wrote: > > Trying to fix it in a naive way: > > Thanks. Sashiko said a bunch of things, all pre-existing. > https://sashiko.dev/#/patchset/20260810-swap-v1-0-375ef0767206@debian.org > > You might wat to address the first one as it's on-topic for this > patchset. Ther are some swap things. The remainder are for the poor > uffd maintainers to scratch at, if inclined. Ack. Rate limiting swap_dup_entry_direct() is right on its own: it prints the same Bad_file message as get_swap_device() does, we have another case we want to rate limit as well. I will update and respin. --breno