On Tue, 30 Apr 2024 15:28:22 +1000 Dave Chinner <david@xxxxxxxxxxxxx> wrote: > This patchset is the followup to the comment I made earlier today: > > https://lore.kernel.org/linux-xfs/ZjAyIWUzDipofHFJ@xxxxxxxxxxxxxxxxxxx/ > > Tl;dr: Memory allocations that are done inside the public memory > allocation API need to obey the reclaim recursion constraints placed > on the allocation by the original caller, including the "don't track > recursion for this allocation" case defined by __GFP_NOLOCKDEP. I resolved a number of conflicts here, mainly due to the addition of GFP_NOLOCKDEP in stackdepot and page-owner. https://lore.kernel.org/all/20240418141133.22950-1-ryabinin.a.a@xxxxxxxxx/T/#u https://lkml.kernel.org/r/20240429082828.1615986-1-hch@xxxxxx Please check the resulting code?