Re: [RFC][PATCH] timers: Add del_time_free() to be called before freeing timers

From: Linus Torvalds
Date: Fri Apr 08 2022 - 20:30:55 EST


On Fri, Apr 8, 2022 at 2:22 PM Steven Rostedt <rostedt@xxxxxxxxxxx> 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