Re: NUMA API for Linux

From: Andi Kleen
Date: Wed Apr 07 2004 - 19:15:58 EST


On Wed, 7 Apr 2004 16:56:39 -0700
Andrew Morton <akpm@xxxxxxxx> wrote:

> If you _do_ use the feature, what is the overhead? 12 bytes for each and
> every vma? Or just for the vma's which have a non-default policy?

Just for VMAs with a non default policy. Default policy is always NULL

> Your patch takes the CONFIG_NUMA vma from 64 bytes to 68. It would be nice
> to pull those 4 bytes back somehow.

Eliminate the RB color field or use rb_next() instead of vm_next. First
alternative is cheaper.

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