Messages in this thread Patch in this message |  | | Date | Sun, 01 Sep 2002 18:33:38 +0400 | From | Oleg Nesterov <> | Subject | Re: [PATCH] batched freeing of anon pages |
| |
Hello.
Now nr variable is unused in tlb_flush_mmu().
--- 2.5.33/include/asm-generic/tlb.h~ Sun Sep 1 15:16:08 2002 +++ 2.5.33/include/asm-generic/tlb.h Sun Sep 1 18:18:38 2002 @@ -67,8 +67,6 @@ static inline void tlb_flush_mmu(mmu_gather_t *tlb, unsigned long start, unsigned long end) { - unsigned long nr; - if (!tlb->need_flush) { tlb->avoided_flushes++; return; @@ -77,7 +75,6 @@ tlb->flushes++; tlb_flush(tlb); - nr = tlb->nr; if (!tlb_fast_mode(tlb)) { free_pages_and_swap_cache(tlb->pages, tlb->nr); tlb->nr = 0;
Oleg. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |