[PATCH v5 02/10] x86/jump_label: Use text_poke_early() during early init
H. Peter Anvin
hpa at zytor.com
Tue Nov 20 18:23:01 UTC 2018
On 11/20/18 10:18 AM, Peter Zijlstra wrote:
>>
>> Can't we make this test in text_poke() directly, please?
>
> He does that in 9/10 iirc.
>
No, in 9/10 he does that change locally for the jump_label, but there is
absolutely no reason not to do that test in text_poke() proper, and
simply use text_poke() everywhere in the kernel.
-hpa
More information about the Linux-security-module-archive
mailing list