Re: [PATCH 12/28] readahead: state based method - aging accounting

Christoph Lameter
2006-11-15T16:54:59Z

On Wed, 15 Nov 2006, Wu Fengguang wrote:

> Collect info about the global available memory and its consumption speed.
> The data are used by the stateful method to estimate the thrashing threshold.

Looks like you should use a ZVC counter for total scanned. See
include/linux/mmzone.h.