Re: [PATCH v4 02/10] x86/jump_label: Use text_poke_early() during early init

2018-11-12 Thread Nadav Amit
To: Ingo Molnar > Cc: linux-kernel@vger.kernel.org>, x...@kernel.org>, H. Peter Anvin > , Thomas Gleixner , Borislav Petkov > , Dave Hansen , Nadav Amit > , Andy Lutomirski , Kees Cook > , Dave Hansen , Masami > Hiramatsu > Subject: [PATCH v4 02/10] x86/jump_label

[PATCH v4 02/10] x86/jump_label: Use text_poke_early() during early init

2018-11-10 Thread Nadav Amit
There is no apparent reason not to use text_poke_early() while we are during early-init and we do not patch code that might be on the stack (i.e., we'll return to the middle of the patched code). This appears to be the case of jump-labels, so do so. This is required for the next patches that would