aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2007-12-26 15:43:01 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-12-27 01:04:09 -0500
commit49eaaa1a6c950e7a92c4386c199b8ec950f840b9 (patch)
treed2b718fc495f6dfa98fbe3e566c65cb0e98c6c3c
parent11ee29577cc1637f94d903a6ea322cf1ed8ce1b3 (diff)
Revert quicklist need->flush fix
Did not fix the reported issue. Apart from other weirdness this causes a bad link between the TLB flushing logic and the quicklists. If there is indeed an issue that an arch needs a tlb flush before free then the arch code needs to set tlb->need_flush before calling quicklist_free. Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--include/asm-generic/tlb.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-generic/tlb.h b/include/asm-generic/tlb.h
index 799307eea40f..75f2bfab614f 100644
--- a/include/asm-generic/tlb.h
+++ b/include/asm-generic/tlb.h
@@ -86,9 +86,6 @@ tlb_flush_mmu(struct mmu_gather *tlb, unsigned long start, unsigned long end)
86static inline void 86static inline void
87tlb_finish_mmu(struct mmu_gather *tlb, unsigned long start, unsigned long end) 87tlb_finish_mmu(struct mmu_gather *tlb, unsigned long start, unsigned long end)
88{ 88{
89#ifdef CONFIG_QUICKLIST
90 tlb->need_flush += &__get_cpu_var(quicklist)[0].nr_pages != 0;
91#endif
92 tlb_flush_mmu(tlb, start, end); 89 tlb_flush_mmu(tlb, start, end);
93 90
94 /* keep the page table cache within bounds */ 91 /* keep the page table cache within bounds */