Re: [PATCH v3 0/6] Static calls

From: Linus Torvalds
Date: Thu Jan 10 2019 - 18:10:48 EST


On Thu, Jan 10, 2019 at 12:52 PM Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
>
> Right, emulating a call instruction from the #BP handler is ugly,
> because you have to somehow grow the stack to make room for the return
> address. Personally I liked the idea of shifting the iret frame by 16
> bytes in the #DB entry code, but others hated it.

Yeah, I hated it.

But I'm starting to think it's the simplest solution.

So still not loving it, but all the other models have had huge issues too.

Linus