Re: [PATCH]: Adding a counter in vma to indicate the number of physical pages backing it

Andi Kleen
2006-06-13T17:31:36Z

> This information is for user land applications to have the knowledge of
> which virtual ranges are getting actively used and which are not.

If you think the kernel needs better information on that wouldn't
it be better to use the page accessed bits of the hardware more
aggressively?

Before giving up and adding hacks like you're proposing it would
be better to explore fully automatic mechanisms fully.

-Andi