Re: try_to_swap_out() deactivating pages w. count > 2

2001-04-21 Thread Linus Torvalds
On Sat, 21 Apr 2001, Rik van Riel wrote: > > > > We should _absolutely_ do the swap space reclaiming without looking at > > the page count. > > page->age != page->count It's all the same thing. The page age and count are used to decice when the page actually gets thrown _out_ of memory. That'

Re: try_to_swap_out() deactivating pages w. count > 2

2001-04-21 Thread Rik van Riel
On Sat, 21 Apr 2001, Rik van Riel wrote: > On Sat, 21 Apr 2001, Linus Torvalds wrote: > > Ehh... And if we didn't do that, then how could they every become less > > active? > > > > We should _absolutely_ do the swap space reclaiming without looking at > > the page count. > > page->age != page->

Re: try_to_swap_out() deactivating pages w. count > 2

2001-04-21 Thread Rik van Riel
On Sat, 21 Apr 2001, Linus Torvalds wrote: > In article <[EMAIL PROTECTED]>, > Rik van Riel <[EMAIL PROTECTED]> wrote: > > > >What I _am_ worried about is the fact that we do this to pages with > >a really high page age. These things are in active use and cannot > >be swapped out any time soon, y

Re: try_to_swap_out() deactivating pages w. count > 2

2001-04-21 Thread Mike Galbraith
On Sat, 21 Apr 2001, Rik van Riel wrote: > On Sat, 21 Apr 2001, Mike Galbraith wrote: > > > 30:04: [pid-4] page:c10599f4 deact:0 cache:0 age:29 count:164 [164? 1] > > 30:04: [pid-4] page:c10599a8 deact:0 cache:0 age:26 count:164 > > > 1. what kind of page has 164 references? > > mmap(/lib/libc.s

Re: try_to_swap_out() deactivating pages w. count > 2

2001-04-21 Thread Linus Torvalds
In article <[EMAIL PROTECTED]>, Rik van Riel <[EMAIL PROTECTED]> wrote: > >What I _am_ worried about is the fact that we do this to pages with >a really high page age. These things are in active use and cannot >be swapped out any time soon, yet we do claim swap space for it ... Ehh... And if we

Re: try_to_swap_out() deactivating pages w. count > 2

2001-04-21 Thread Rik van Riel
On Sat, 21 Apr 2001, Mike Galbraith wrote: > 30:04: [pid-4] page:c10599f4 deact:0 cache:0 age:29 count:164 [164? 1] > 30:04: [pid-4] page:c10599a8 deact:0 cache:0 age:26 count:164 > 1. what kind of page has 164 references? mmap(/lib/libc.so, FLAGS); > 2. why deactivate pages (lots) with coun

Re: try_to_swap_out() deactivating pages w. count > 2

2001-04-21 Thread Mike Galbraith
Oops.. looking at aging too hard :) What kind of page is it? -Mike - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://ww