[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wg3icnjr+6aU-Wyw+kBoSRBM28P4o4iTgimOWDuuUiStQ@mail.gmail.com>
Date: Fri, 8 Apr 2022 14:30:21 -1000
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Thomas Gleixner <tglx@...utronix.de>,
LKML <linux-kernel@...r.kernel.org>, jstultz@...gle.com,
Stephen Boyd <sboyd@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Peter Zijlstra <peterz@...radead.org>,
Marcel Holtmann <marcel@...tmann.org>,
Johan Hedberg <johan.hedberg@...il.com>,
Luiz Augusto von Dentz <luiz.dentz@...il.com>,
Eric Dumazet <edumazet@...gle.com>,
Guenter Roeck <linux@...ck-us.net>
Subject: Re: [RFC][PATCH] timers: Add del_time_free() to be called before
freeing timers
On Fri, Apr 8, 2022 at 2:22 PM Steven Rostedt <rostedt@...dmis.org> wrote:
>
> We could always use the LSB bit of the function as a "shutdown" flag, where:
While we do that for data pointers, doing it for function pointers is dodgy.
Not all architectures necessarily align code pointers. In fact, I
think that "-Os" on x86 makes all code alignment go away, and so
function pointers have no alignment at all.
Linus
Powered by blists - more mailing lists