Re: NUMA API for Linux

From: Andi Kleen
Date: Wed Apr 07 2004 - 19:52:09 EST


On Thu, 8 Apr 2004 02:26:26 +0200
Andrea Arcangeli <andrea@xxxxxxx> wrote:

> On Thu, Apr 08, 2004 at 02:14:48AM +0200, Andi Kleen wrote:
> > Eliminate the RB color field or use rb_next() instead of vm_next. First
> > alternative is cheaper.
>
> with eliminate I assume you mean to reuse a bit in the vma for that
> (like vma->vm_flags), somewhere the color bit info is needed to make the
> rebalanacing in mmap quick but to still guarantee the max height <= 2 *
> min height.

Yes. Put it either into flags or into the low order bits of a pointer.

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