On Tue, 6 Jan 2026 at 16:41, David Hildenbrand (Red Hat) david@kernel.org wrote:
I assume the usual suspects, including mm/memory-failure.c.
memory_failure() not only contains a folio_wait_writeback() but also a folio_lock(), so twice the fun :)
As long as it's run from a workqueue it shouldn't affect the rest of the system, right? The wq thread will consume a nontrivial amount of resources, I suppose, so it would be better to implement those waits asynchronously.
Thanks, Miklos