Messages in this thread | | | Date | Mon, 27 Jun 2022 17:11:36 +0900 | From | Tejun Heo <> | Subject | Re: [PATCH 3/3] kthread: Stop abusing TASK_UNINTERRUPTIBLE (INCOMPLETE) |
| |
On Mon, Jun 27, 2022 at 09:22:37AM +0200, Peter Zijlstra wrote: > Yes, I so wish C had reasonable lambda expressions :/ But even if we > could come up with a semi sensible syntax and implementation, it would > still be many *many* years before we could actually use it in-kernel :-(
Yeah, I have a hard time imagining this happening in C but maybe we'll get pretty good closure support through rust-in-kernel if that works out. That'd be pretty sweet even though we might not be able to use it everywhere.
Thanks.
-- tejun
| |