Re: [PATCH v2 37/59] x86/putuser: Provide room for padding

From: Linus Torvalds
Date: Sat Sep 03 2022 - 13:27:14 EST


On Fri, Sep 2, 2022 at 2:46 PM Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> Hmm. It doesn't look too horrible, but yeah, fi it still ends up
> getting the same padding overhead I'm not sure it ends up really
> mattering.

Oh, and I think it's buggy anyway.

If there are any tail-calls to a leaf function, the tracking now gets
out of whack. So it's no longer a "don't bother counting the last
level", now it ends up being a "count got off by one".

Oh well.

Linus