mm/apply_to_range: call pte function with lazy updates
authorJeremy Fitzhardinge <jeremy@goop.org>
Tue, 6 Jan 2009 22:39:21 +0000 (14:39 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:01 +0000 (15:59 -0800)
commit38e0edb15bd07c6a0caf0cfe39f8f90bd98601b2
tree1ba874020bb20412ba312abef199a8668c5b99a6
parentcd52858c73f9f7df859a08fb08496ca39b9b3d8d
mm/apply_to_range: call pte function with lazy updates

Make the pte-level function in apply_to_range be called in lazy mmu mode,
so that any pagetable modifications can be batched.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Cc: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory.c