Re: 2.4.8/2.4.9 VM problems

From: Benjamin Redelings I (bredelin@ucla.edu)
Date: Mon Aug 20 2001 - 11:13:55 EST


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/



This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:35 EST