Re: [RFC 3/6] Make nr_pagecache a per zone counter

From: Christoph Lameter
Date: Mon Dec 12 2005 - 11:33:56 EST


On Mon, 12 Dec 2005, Marcelo Tosatti wrote:

> But nr_pagecache is not accessed at interrupt code, is it? It does
> not need to be an atomic type.

nr_pagecache is only updated when interrupts are disabled. It could be
simply switched to unsigned long for UP.


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