Re: [PATCH 6.12.y] swapfile: call cond_resched() before locking si->lock
Sasha Levin <[email protected]>
| Newsgroups | org.kernel.vger.stable |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Aug 12, 2026 at 10:51:47AM +0200, Guillaume Morin wrote:
> The 6.12 backport of commit 66366d291f66 ("mm/swap: add cond_resched()
> in swap_reclaim_full_clusters to prevent softlockup"),
> added a cond_resched() after locking si->lock. Move cond_resched()
> before spin_lock().
Queued for 6.12, thanks.
--
Thanks,
Sasha