Today I’ve sent the v5 of the x86/jump_label: Bound IPIs sent when updating a static key patch set. The list of changes from the previous version is:
- Renamed jump_label_can_update_check() to jump_label_can_update() (Borislav Petkov)
- Switch jump_label_can_update() return values to bool (Borislav Petkov)
- Accept the fact that some lines will be > 80 characters (Borislav Petkov)
- Local variables are now in the inverted Christmas three order (Borislav Petkov)
- Removed superfluous helpers. (Borislav Petkov)
- Renamed text_to_poke to text_patch_loc, and handler to detour (Borislav Petkov & Steven Rostedt)
- Re-applied the suggestion of not using BUG() from steven (Masami Hiramatsu)
- arch_jump_label_transform_queue() now returns 0 on success and
-ENOSPC/EINVAL on errors (Masami Hiramatsu)
I think we are not far from an acceptance. The code introduces a lot of optimizations suggested by Masami, Steven, and Borislav! But it might have one or two rounds of small fixes/polishment.
Here is the link for the submission:
https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1968209.html