Re: [PATCH] Priority Lists for the RT mutex

From: Daniel Walker
Date: Mon May 09 2005 - 13:15:15 EST


On Mon, 2005-05-09 at 02:11, Ingo Molnar wrote:

> What would be nice to achieve are [low-cost] reductions of the size of
> struct rt_mutex (in include/linux/rt_lock.h), upon which all other
> PI-aware locking objects are based. Right now it's 9 words, of which
> struct plist is 5 words. Would be nice to trim this to 8 words - which
> would give a nice round size of 32 bytes on 32-bit.

Why not make rt_mutex->wait_lock a pointer ? Set it to NULL and handle
it in rt.c .

Daniel

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