[lkml]   [2001]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectVM question: side effect of not scanning Active pages?
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!

"I will begin again" - U2, 'New Year's Day'
Benjamin Redelings I <><

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:08    [W:0.057 / U:1.944 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site