Re: [PATCH 0/3] mm, swap: don't spin or flood the console on a bad swap entry

Breno Leitao <[email protected]>
Newsgroups org.kvack.linux-mm,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Mon, Aug 10, 2026 at 10:20:34AM -0700, Andrew Morton wrote:
> On Mon, 10 Aug 2026 09:26:48 -0700 Breno Leitao <[email protected]> wrote:
> > Trying to fix it in a naive way:
> 
> Thanks.  Sashiko said a bunch of things, all pre-existing.
> 	https://sashiko.dev/#/patchset/[email protected]
> 
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.