[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220408204925.16361b44@rorschach.local.home>
Date: Fri, 8 Apr 2022 20:49:25 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Linus Torvalds <torvalds@...ux-foundation.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, 8 Apr 2022 14:30:21 -1000
Linus Torvalds <torvalds@...ux-foundation.org> wrote:
> 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.
Hmm, well, I'm not sure it would work for all architectures, but what
about the MSB? Setting it to zero on "shutdown"?
-- Steve
Powered by blists - more mailing lists