Messages in this thread | | | Date | Thu, 16 Mar 2023 07:56:50 -0700 | From | "Paul E. McKenney" <> | Subject | Re: [PATCH 04/13] tracing: Rename kvfree_rcu() to kvfree_rcu_mightsleep() |
| |
On Thu, Mar 16, 2023 at 08:14:24AM -0400, Steven Rostedt wrote: > On Thu, 16 Mar 2023 00:16:39 -0400 > Joel Fernandes <joel@joelfernandes.org> wrote: > > > Indeed, and one could argue that "headless" sounds like something out > > of a horror movie ;-). Which of course does match the situation when > > the API is applied incorrectly. > > Well, "headless" is a common term in IT. > > https://en.wikipedia.org/wiki/Headless_software
Indeed it is. But RCU is incapable of headlessness, so in the kvfree_rcu_mightsleep() case, the rcu_head is dynamically allocated.
> We could be specific to what horror movie/story, and call it: > > kvfree_rcu_sleepy_hollow() > > Which will imply both headless *and* might_sleep!
Heh! That one is almost bad enough to be good! Almost! ;-)
Thanx, Paul
| |