[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wgsST9kbbDf9a3pa91jaPS-of2fB5L2808APd1mnMpCPQ@mail.gmail.com>
Date: Thu, 16 Sep 2021 13:16:59 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Masami Hiramatsu <mhiramat@...nel.org>,
Mike Rapoport <rppt@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...nel.org>, Linux-MM <linux-mm@...ck.org>,
Vlastimil Babka <vbabka@...e.cz>
Subject: Re: [PATCH v4 4/4] bootconfig: Rename xbc_destroy_all() to xbc_fini()
On Thu, Sep 16, 2021 at 6:26 AM Steven Rostedt <rostedt@...dmis.org> wrote:
>
>
> I didn't know this was a thing. But looking for other use cases with
> "*_fini(", there seems to be plenty of precedence in the kernel for this
> change.
I wouldn't encourage it.
It's an odd compiler thing, where initializers and destructors are in
'init' and 'fini' segments respectively.
It makes absolutely no sense in any other context, and the fact that
it has bled into kernel usage is not a good thing imnsho.
Honestly, "exit" is the normal prefix/postfix, and is actually a real
word. As is "destroy", used elsewhere.
So I'm not going to NAK 'fini', but it's a completely stupid and
pointless thing to use and there are better character sequences that
aren't any more typing and are real words.
Linus
Powered by blists - more mailing lists