| Date | Wed, 10 Jul 2013 22:25:46 +0200 (CEST) | From | Jiri Kosina <> | Subject | [RFC] [PATCH 0/2] x86: make jump labels use int3-based breakpoint instead of stop_machine() |
| |
Hi,
this is a resurrection of a few years old idea to have jump labels use synchronization based on int3 breakpoint rather than relying on stop_machine() with all the consequences.
ftrace has been doing exactly this kind of patching for year since 08d636b6 ("ftrace/x86: Have arch x86_64 use breakpoints instead of stop machine").
This patchset first introduces generic text_poke_bp() that provides means to perform this method of patching in parallel to text_poke_smp(), and then converts x86 jump label code to use it.
If this is merged, I'll do a followup patch converting ftrace to use this infrastructure as well, as it's doing the same thing in principle already.
Comments welcome.
-- Jiri Kosina SUSE Labs
|