lkml.org 
[lkml]   [2005]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.10: kswapd spins like crazy
Nick Piggin <nickpiggin@yahoo.com.au> wrote:
>
> Oh, attached should be a minimal fix if you would like to try it out.
>
>
> ...
> --- linux-2.6/mm/vmscan.c~vmscan-minfix 2005-02-04 11:52:37.000000000 +1100
> +++ linux-2.6-npiggin/mm/vmscan.c 2005-02-04 11:53:32.000000000 +1100
> @@ -575,6 +575,7 @@ static void shrink_cache(struct zone *zo
> nr_taken++;
> }
> zone->nr_inactive -= nr_taken;
> + zone->pages_scanned += nr_scan;
> spin_unlock_irq(&zone->lru_lock);
>
> if (nr_taken == 0)
>

Any theories as to why these pages aren't being activated and aren't being
reclaimed?

-
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 14:10    [W:0.086 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site