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

Rik van Riel (riel@conectiva.com.br)
Sat, 21 Apr 2001 13:42:13 -0300 (BRST)


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 count > 2? PINGpong.

They're not deactivated, they're removed from this proces' virtual
memory mapping.

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

regards,

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/