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

From: Andi Kleen
Date: Tue Jun 13 2006 - 13:30:26 EST



> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/