Re: [RFC] per-cpu preempt_count

From: Peter Zijlstra
Date: Tue Aug 13 2013 - 12:26:23 EST


On Tue, Aug 13, 2013 at 05:56:37PM +0200, Ingo Molnar wrote:

> PREEMPT_NEED_RESCHED could be made the high bit - or maybe an even simpler
> solution is to invert its meaning: making '0' the "it needs to resched!"
> case, so the check would be decl+jz?

Right, inverted NEED_RESCHED would work.

--
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/