Re: [RFC 1/3] Framework for accurate node based statistics

From: Christoph Lameter
Date: Tue Dec 06 2005 - 14:36:31 EST


On Tue, 6 Dec 2005, Andi Kleen wrote:

> > Yuck. That code uses atomic operations and is not aware of atomic64_t.
> Hmm? What code are you looking at?
include/asm-generic/local.h. this is the default right? And
include/asm-ia64/local.h.

> At least i386/x86-64/generic don't use any atomic operations, just
> normal non atomic on bus but atomic for interrupts local rmw.

inc/dec are atomic by default on x86_64?

> Do you actually need 64bit?

32 bit limits us in the worst case to 8 Terabytes of RAM (assuming a very
small page size of 4k and 31 bit available for an atomic variable
[sparc]). SGI already has installations with 15 Terabytes of RAM.
-
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/