Messages in this thread | | | Date | Wed, 5 Oct 2011 14:39:07 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH] mm, arch: Complete pagefault_disable abstraction |
| |
On Wed, 05 Oct 2011 15:09:29 +0200 Peter Zijlstra <peterz@infradead.org> 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.
| |