On 4/26/22 12:06 PM, Matthew Wilcox wrote: > On Tue, Apr 26, 2022 at 10:43:19AM -0700, Stefan Roesch wrote: >> Define FGP_ATOMIC flag and add support for the new flag in the function >> __filemap_get_folio(). > > No. You don't get to use the emergency memory pools for doing writes. > That completely screws up the MM. The next version of the patch will remove this patch from the patch series and the need of the atomic flag.