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!