|
|
Subscribe / Log in / New account

Difficulty pushing restore flags through the code

Difficulty pushing restore flags through the code

Posted Jun 5, 2024 18:09 UTC (Wed) by riking (guest, #95706)
Parent article: Removing GFP_NOFS

Scoped flag restore gets a lot easier when you can make closures easily (you can pass the to-be-restored flags into the closure), but oops, the most generic definition of a closure in C (void* data + void fn(void*)) requires allocation to add data past the first pointer!


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds