On Thu 01-02-18 10:41:26, Dave Chinner wrote: > On Wed, Jan 31, 2018 at 09:24:38PM +0100, Michal Hocko wrote: [...] > > This would both document the context > > and also limit NOFS allocations to bare minumum. > > Yup, most of XFS already uses implicit GFP_NOFS allocation calls via > the transaction context process flag manipulation. Yeah, xfs is in quite a good shape. There are still around 40+ KM_NOFS users. Are there any major obstacles to remove those? Or is this just "send patches" thing. Compare that to $ git grep GFP_NOFS -- fs/btrfs/ | wc -l 272 -- Michal Hocko SUSE Labs