(2013/12/12 18:59), Jiri Kosina wrote: > On Thu, 12 Dec 2013, Masami Hiramatsu wrote: > >>> Yeah, it's broken. Obviously, if you happen to trigger int3 before the >>> notifier has been registered, it'd cause int3 exception to be unhandled. >>> See >>> >>> commit 17f41571bb2c4a398785452ac2718a6c5d77180e >>> Author: Jiri Kosina <[email protected]> >>> Date: Tue Jul 23 10:09:28 2013 +0200 >>> >>> kprobes/x86: Call out into INT3 handler directly instead of using >>> notifier >>> >>> for one such issue that happened with jump labels. >>> >>>> Hmm, if there's no users of the int3 notifier, should we just remove it? >>> >>> Hmm, there are still uprobes, right? >> >> Right, uprobes still use it, however, since it only handles user-space >> breakpoint, there is no problem. > > Agreed. But therefore the notifier can't just be removed, unless uprobes > are converted to direct call as well (but I don't think that'd be > beneficial, notifier is sufficient in this case).
Ah, I don't intended to remove notify_die from do_int3, since notify_die notifies many other exceptions too. :) Thank you, -- Masami HIRAMATSU IT Management Research Dept. Linux Technology Center Hitachi, Ltd., Yokohama Research Laboratory E-mail: [email protected] -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

