memalloc_nofs_restore(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay so bestie, this is memalloc_nofs_restore(9) from the Kernel API Manual β€” the function that ends the implicit GFP_NOFS scope. πŸ’…

✨ SYNOPSIS ✨

void memalloc_nofs_restore (unsigned int flags );

πŸŽ€ ARGUMENTS πŸŽ€

  • flags β€” Flags to restore. That's the whole vibe. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

So memalloc_nofs_restore ends the implicit GFP_NOFS scope started by the memalloc_nofs_save function. ✨

And like, always make sure that the given flags is the return value from the pairing memalloc_nofs_save call. Not a random value, not a guess β€” the actual matching return value. πŸ’€

🌈 SEE ALSO 🌈

Kernel file: ./include/linux/sched/mm.h


Okay that's the whole page, bestie. Cute sign-off: from the source spot ./include/linux/sched, dated October 2026, and it's all about memalloc_nofs_restore(9). πŸ’–πŸŽ€

πŸ“¦ where this page comes from