mbox series

[0/2] get rid of PF_MEMALLOC_NORECLAIM

Message ID 20240826085347.1152675-1-mhocko@kernel.org (mailing list archive)
Headers show
Series get rid of PF_MEMALLOC_NORECLAIM | expand

Message

Michal Hocko Aug. 26, 2024, 8:47 a.m. UTC
https://lore.kernel.org/all/20240812090525.80299-1-laoar.shao@gmail.com/T/#u
attempted to build on top of PF_MEMALLOC_NORECLAIM introduced by 
eab0af905bfc ("mm: introduce PF_MEMALLOC_NORECLAIM,
PF_MEMALLOC_NOWARN"). This flag has been merged even though there was an
explicit push back from the MM people - https://lore.kernel.org/all/ZcM0xtlKbAOFjv5n@tiehlicka/

These two patches are dropping the flag and use an explicit GFP_NOWAIT
allocation context in the bcache inode allocation code. This required to
push gfp mask down to inode_init_always and its LSM hooks. I am not really
familiar with this code so please give it a thorough review.