lkml.org 
[lkml]   [2001]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.4.8/2.4.9 VM problems
Daniel Phillips wrote:
> Could you please try this patch against 2.4.9 (patch -p0):
>
> --- ../2.4.9.clean/mm/memory.c Mon Aug 13 19:16:41 2001
> +++ ./mm/memory.c Sun Aug 19 21:35:26 2001
> @@ -1119,6 +1119,7 @@
> */
> return pte_same(*page_table, orig_pte) ? -1 : 1;
> }
> + SetPageReferenced(page);
> }
>
> /*
>


Well, I tried this, and.... WOW! Much better [:)]
Was it really true, that swapped in pages didn't get marked as
referenced before? It almost felt that bad, but that seems kind of
crazy - I don't completely understand what this fix is doing...

-BenRI
P.S. I tried this on my 64Mb PPro and a 128Mb PIII, and both felt like
they had a lot more memory - e.g. less swapping and stuff.
--
"I will begin again" - U2, 'New Year's Day'
Benjamin Redelings I <>< http://www.bol.ucla.edu/~bredelin/

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