All of lore.kernel.org
 help / color / mirror / Atom feed
* VM question: side effect of not scanning Active pages?
@ 2001-10-14 23:30 ` Benjamin Redelings I
  0 siblings, 0 replies; 6+ messages in thread
From: Benjamin Redelings I @ 2001-10-14 23:30 UTC (permalink / raw)
  To: linux-kernel, linux-mm

Hello,
	In both Andrea and Rik's VM, I have tried modifying try_to_swap_out so
that a page would be skipped if it is "active".  For example, I have
currently modified 2.4.13-pre2 by adding:

          if (PageActive(page))
                  return 0;

after testing the hardware referenced bit.  This was motivated by
sections of VM-improvement patches written by both Rik and Andrea.
	This SEEMS to increase performance, but it has another side effect.  The
RSS of unused daemons no longer EVER drops to 4k, which it does without
this modification.  The RSS does decrease (usually) to the value of
shared memory, but the amount of shared memory only gets down to about
200-300k instead of decreasing to 4k.
	Can anyone tell me why not scanning Active page for swapout would have
this effect?  Thanks!

-BenRI
-- 
"I will begin again" - U2, 'New Year's Day'
Benjamin Redelings I      <><     http://www.bol.ucla.edu/~bredelin/



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

end of thread, other threads:[~2001-10-15 12:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-14 23:30 VM question: side effect of not scanning Active pages? Benjamin Redelings I
2001-10-14 23:30 ` Benjamin Redelings I
2001-10-14 18:55 ` Joseph A Knapka
     [not found]   ` <3BCA6F25.2000807@ucla.edu>
2001-10-14 23:58     ` Joseph A Knapka
2001-10-15 12:38 ` Jonathan Morton
2001-10-15 12:38   ` Jonathan Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.