Messages in this thread | ![/](/images/icornerl.gif) | | Subject | Re: [PATCH RFC bpf-next v6 1/6] bpf/helpers: introduce sleepable bpf_timers | From | Eduard Zingerman <> | Date | Tue, 09 Apr 2024 00:17:38 +0300 |
| |
On Mon, 2024-04-08 at 19:20 +0200, Benjamin Tissoires wrote:
[...]
> That was my initial assumption too, but Alexei told me it was fine. > And I think he is correct because kfree_rcu doesn't need the rcu_head > to be initialized. > > So in the end, we initialize the memory as a work_struct, and when > that work kicks in, we reuse that exact same memory as the rcu_head. > This is fine because that work will never be reused.
Oh, I get it, thank you for explanation.
Thanks, Eduard
| ![\](/images/icornerr.gif) |