Re: [GIT pull] locking/urgent for v5.12-rc3

From: Peter Zijlstra
Date: Mon Mar 15 2021 - 04:35:10 EST


On Sun, Mar 14, 2021 at 01:15:25PM -0700, Linus Torvalds wrote:
> On Sun, Mar 14, 2021 at 8:40 AM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
> >
> > - A fix for the static_call mechanism so it handles unaligned
> > addresses correctly.
>
> I'm not disputing the fix in any way, but why weren't the relocation
> info and function start addresses mutually aligned?
>
> Are we perhaps missing some .align directive somewhere?
>
> Or am I missing something?

So I considered looking into that, but since carrying the flag on the
absolute address is always correct I figured it was the more robust fix.

I suppose I can try and figure out where alignment went wobbly.