https://lore.kernel.org/all/20240812090525.80299-1-laoar.shao@xxxxxxxxx/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.