Re: [RFC] mm/migrate: make sure folio_unlock() before folio_wait_writeback()

From: David Hildenbrand

Date: Tue Oct 07 2025 - 03:05:06 EST


On 07.10.25 08:32, Yunseong Kim wrote:
Hi Hillf,

Here are the syzlang and kernel log, and you can also find the gist snippet
in the body of the first RFC mail:

https://gist.github.com/kzall0c/a6091bb2fd536865ca9aabfd017a1fc5

I am reviewing this issue again on the v6.17, The issue is always reproducible,
usually occurring within about 10k attempts with the 8 procs.

I can see a DEPT splat and I wonder what happens if DEPT is disabled.

Will the machine actually deadlock or is this just DEPT complaining (and probably getting something wrong)?

--
Cheers

David / dhildenb