On Wed 21-03-18 17:44:28, Goldwyn Rodrigues wrote: > From: Goldwyn Rodrigues <rgoldwyn@xxxxxxxx> > > The superblock shrinkers are responsible for pruning dcache and icache. > which evicts the inode by calling into local filesystem code. Protect > allocations under memalloc_nofs_save/restore(). This is just wrong. PF_MEMALLOC_NOFS implies GFP_NOFS. Have a look at current_gfp_context. Shrinkers really do not and should not care about it. -- Michal Hocko SUSE Labs