Re: [PATCH] mm, arch: Complete pagefault_disable abstraction

From: Andrew Morton
Date: Wed Oct 05 2011 - 17:39:12 EST


On Wed, 05 Oct 2011 15:09:29 +0200
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> Currently we already have pagefault_{disable,enable}() but they're
> nothing more than a glorified preempt_{disable,enable}().

That's not very accurate or useful. Unlike preempt_disable(),
pagefault_disable() will raise the preempt count when CONFIG_PREEMPT=n.
--
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/