lkml.org 
[lkml]   [2023]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2023-03-27 01:04    [W:0.101 / U:1.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site