lkml.org 
[lkml]   [2002]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.051 / U:0.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site