mm: allow preemption in apply_to_pte_range
commit252a6bf2a3a7e7add56b17d48aecf3f3ef213103
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Wed, 18 Feb 2009 08:11:28 +0000 (18 00:11 -0800)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Mon, 30 Mar 2009 06:36:03 +0000 (29 23:36 -0700)
tree78d2cf00c73c4325e024ff00be0bb0f487865859
parent2829b449276aed45f3d649efb21e3418e39dd5d1
mm: allow preemption in apply_to_pte_range

Impact: allow preemption in apply_to_pte_range updates to init_mm

Preemption is now allowed for lazy mmu mode, so don't disable
it for the inner loop of apply_to_pte_range.  This only applies
when doing updates to init_mm; user pagetables are still modified
under the pte lock, so preemption is disabled anyway.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
mm/memory.c