Re: [RFC PATCH 2/2] livepatch: Clear relocation targets on a module removal
From: Jiri Kosina <jikos@kernel.org>
Date: 2019-09-05 13:32:15
Also in:
lkml
From: Jiri Kosina <jikos@kernel.org>
Date: 2019-09-05 13:32:15
Also in:
lkml
On Thu, 5 Sep 2019, Josh Poimboeuf wrote:
quoted
All the indirect jumps are turned into alternatives when retpolines are in place.Actually in C code those are done by the compiler as calls/jumps to __x86_indirect_thunk_*.
Sure, and the thunks do the redirection via JMP_NOSPEC / CALL_NOSPEC, which has alternative in it. -- Jiri Kosina SUSE Labs