Subj : [$] Removing GFP_NOFS To : All From : LWN.net Date : Wed Jun 05 2024 17:00:06 [$] Removing GFP_NOFS Date: Wed, 05 Jun 2024 15:48:08 +0000 Description: The GFP_NOFS flag is meant for kernel memory allocations that should not cause a call into the filesystems to reclaim memory because there are already locks held that can potentially cause a deadlock. The "scoped allocation" API is a better choice for filesystems to indicate that they are holding a lock, so GFP_NOFS has long been on the chopping block , though progress has been slow. In a filesystem-track session at the 2024 Linux Storage, Filesystem, Memory Management, and BPF Summit , Matthew Wilcox wanted to discuss how to move kernel filesystems away from the flag with the eventual goal of removing it completely. ====================================================================== Link to news story: https://lwn.net/Articles/976355/ --- Mystic BBS v1.12 A47 (Linux/64) * Origin: tqwNet UK HUB @ hub.uk.erb.pw (1337:1/100) .