lkml.org 
[lkml]   [2001]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: try_to_swap_out() deactivating pages w. count > 2
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->count

Umm, forget that. We only decrease page->age in refill_inactive_scan,
so we NEED to put it there. You're right, I should wake up and think
a bit more about my own code ;)

Rik
--
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

http://www.surriel.com/
http://www.conectiva.com/ http://distro.conectiva.com.br/

-
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/

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