On 09/19/2014 11:48 PM, Andrey Vagin wrote: > Unfortunately the kernel doesn't flush hw breakpoints on > detaching ptrace. If a breakpoint is triggered without ptrace, it > will be killed by SIGTRAP. > > Reported-by: Mr Jenkins > Signed-off-by: Andrey Vagin <avagin at openvz.org> OK, applied. Compiler should optimize-out the empty loop itself.