linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Re: 2.4.8/2.4.9 VM problems
@ 2001-08-20 16:13 Benjamin Redelings I
  2001-08-20 17:02 ` Rik van Riel
  2001-08-20 19:32 ` Daniel Phillips
  0 siblings, 2 replies; 5+ messages in thread
From: Benjamin Redelings I @ 2001-08-20 16:13 UTC (permalink / raw)
  To: linux-kernel, linux-mm

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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-08-20 21:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-20 16:13 2.4.8/2.4.9 VM problems Benjamin Redelings I
2001-08-20 17:02 ` Rik van Riel
2001-08-20 20:13   ` Daniel Phillips
2001-08-20 19:32 ` Daniel Phillips
2001-08-20 21:38   ` Rik van Riel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox