aboutsummaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-08-25 10:08:41 +0200
committerSteven Rostedt <rostedt@goodmis.org>2012-06-25 16:07:34 -0400
commitd4c65c50367064976bb3b3ffadf3407603a72916 (patch)
tree287886d68b98d032c642ed753bd2a157c7377238 /mm
parentcde029a77f2b948f5eb975b22430aa38194109b6 (diff)
memory-zap-unused-stuff.patch
Reported-by: Mike Galbraith <efault@gmx.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'mm')
-rw-r--r--mm/memory.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/mm/memory.c b/mm/memory.c
index d49b58aba4ae..cfd0c9e79e70 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -1298,13 +1298,6 @@ static unsigned long unmap_page_range(struct mmu_gather *tlb,
return addr;
}
-#ifdef CONFIG_PREEMPT
-# define ZAP_BLOCK_SIZE (8 * PAGE_SIZE)
-#else
-/* No preempt: go for improved straight-line efficiency */
-# define ZAP_BLOCK_SIZE (1024 * PAGE_SIZE)
-#endif
-
/**
* unmap_vmas - unmap a range of memory covered by a list of vma's
* @tlb: address of the caller's struct mmu_gather