On Fri, Jul 24, 2015 at 12:55 PM, Peter Zijlstra <pet...@infradead.org> wrote: > > I worry that we'll end up running the do_debug() handlers from effective > NMI context. > > The NMI might have preempted locks which these handlers require etc..
If #DB takes any locks like that, then #DB is broken. Pretty much by definition, a data breakpoint can happen on pretty much absolutely any code. This is in no way NMI-specific as far as I can tell. Do we really take locks in the #DB handler? Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/