Messages in this thread | | | Date | Tue, 7 Jul 2009 12:53:17 -0400 (EDT) | From | Christoph Lameter <> | Subject | Re: [PATCH 5/5] add NR_ANON_PAGES to OOM log |
| |
On Mon, 6 Jul 2009, Minchan Kim wrote:
> Anyway, I think it's not a big cost in normal system. > So If you want to add new accounting, I don't have any objection. :)
Lets keep the counters to a mininum. If we can calculate the values from something else then there is no justification for a new counter.
A new counter increases the size of the per cpu structures that exist for each zone and each cpu. 1 byte gets multiplies by the number of cpus and that gets multiplied by the number of zones.
| |