Re: [RFC][PATCH 0/2] preempt: Track unmatched preempt_enable() topreempt_disable()

From: Peter Zijlstra
Date: Thu Jan 16 2014 - 12:45:53 EST


On Thu, Jan 16, 2014 at 12:18:24PM -0500, Steven Rostedt wrote:

Didn't see anything horrible in there, so fine with me.

Another thing I recently ran into was:

local_irq_disable();
preempt_disable();
local_irq_enable();

local_irq_disable();
preempt_enable();
local_irq_enable();

I'm not sure any of our debugging catches that, I meant to extend
lockdep, but maybe it could also be hooked into something else.
--
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/