lkml.org 
[lkml]   [2006]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Avoid allocating during interleave from almost full nodes
On Sat, 4 Nov 2006, Paul Jackson wrote:

> Do you know of any existing counters that we could use like this?
>
> Adding a system wide count of pages allocated or scanned, just for
> these fullnode hint caches, bothers me.

There are already such counters. PGALLOC_* and PGSCAN_*. See
include/linux/vmstat.h

> Perhaps best if we used a node or cpu local counter.

The counters are per cpu and are cpu local.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-11-06 17:59    [from the cache]
©2003-2011 Jasper Spaans