Re: [PATCH] mm: count only reclaimable lru pages

From: Peter Zijlstra
Date: Thu Jul 16 2009 - 10:28:37 EST


On Thu, 2009-07-16 at 22:25 +0800, Wu Fengguang wrote:
> > Reclaimable? Are all pages on the LRUs truly reclaimable?
>
> No, only possibly reclaimable :)
>
> What would you suggest? In fact I'm not totally comfortable with it.
> Maybe it would be safer to simply stick with the old _lru_pages
> naming?

Nah, I like the reclaimable name, these pages are at least potentially
reclaimable.

lru_pages() is definately not correct anymore since you exclude the
unevictable and possibly the anon pages.

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