On Mon, Jun 4, 2012 at 4:35 PM, Anton Vorontsov cbouatmailru@gmail.com wrote:
I don't mean VMEVENT_ATTR_LOWMEM_PAGES but following as,
VMEVENT_ATTR_NR_FREE_PAGES VMEVENT_ATTR_NR_SWAP_PAGES VMEVENT_ATTR_NR_AVAIL_PAGES
I'm not sure how it is useful.
Yep, these raw values are mostly useless, and personally I don't use these plain attributes. I use heuristics, i.e. "blended" attributes. If we can come up with levels-based approach w/o using vmstat, well.. OK then.
That's what Nokia's lowmem notifier uses. We can probably drop them once we have something else they could use.