Re: [PATCH] arch_check_bp_in_kernelspace: fix the range check
From: Steven Rostedt
Date: Tue Nov 20 2012 - 10:55:49 EST
On Tue, 2012-11-20 at 16:48 +0100, Oleg Nesterov wrote:
> > But here, there's no prejudice between tasks. All tasks will now hit the
> > breakpoint regardless of if it is being traced or not.
> ^^^^^^^^^^
>
> This is hardware breakpoint, it is per-task.
I forgot that hw breakpoints are swapped out at context switch (as Amnon
informed me).
OK, that makes a big difference.
Thanks,
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/