Re: [PATCH 0/4] mm, swap: misc cleanup and bugfix
From: Andrew Morton
Date: Tue Oct 07 2025 - 18:20:37 EST
On Tue, 07 Oct 2025 04:02:32 +0800 Kairui Song <ryncsn@xxxxxxxxx> wrote:
> A few cleanups and a bugfix that are either suitable after the swap
> table phase I or found during code review.
>
> Patch 1 is a bugfix and needs to be included in the stable branch,
> the rest have no behavior change.
fyi, the presentation of the series suggests that [1/4] is not a hotfix
- that it won't hit mainline (and then -stable) until after 6.19-rc1.
Which sounds OK given this:
> So far, no issues have been observed or reported with typical SSD setups
> under months of high pressure. This issue was found during my code
> review. But by hacking the kernel a bit: adding a mdelay(100) in the
> async discard path, this issue will be observable with WARNING triggered
> by the wrong GFP and cond_resched in the bio layer.