From: K.Prasad Date: Thu, 28 Jan 2010 11:14:15 +0000 (+0530) Subject: x86/hw-breakpoints: Optimize return code from notifier chain in hw_breakpoint_handler X-Git-Tag: v2.6.34-rc1~197^2~93 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0e53db6133c32964fd17f20b17073a402f07ed3;p=pandora-kernel.git x86/hw-breakpoints: Optimize return code from notifier chain in hw_breakpoint_handler Processing of debug exceptions in do_debug() can stop if it originated from a hw-breakpoint exception by returning NOTIFY_STOP in most cases. But for certain cases such as: a) user-space breakpoints with pending SIGTRAP signal delivery (as in the case of ptrace induced breakpoints). b) exceptions due to other causes than breakpoints We will continue to process the exception by returning NOTIFY_DONE. Signed-off-by: K.Prasad Cc: Ingo Molnar Cc: Roland McGrath Cc: Alan Stern Cc: Jan Kiszka LKML-Reference: <20100128111415.GC13935@in.ibm.com> Signed-off-by: Frederic Weisbecker --- Reading git-diff-tree failed