Re: Shrink the held_lock struct by using bitfields.
From: Ingo Molnar
Date: Sun Jan 14 2007 - 13:50:44 EST
On Tue, 2007-01-02 at 18:38 -0500, Dave Jones wrote:
> + unsigned char irq_context:1;
> + unsigned char trylock:1;
> + unsigned char read:2;
> + unsigned char check:1;
> + unsigned char hardirqs_off:1;
cool! I totally missed those. I'd even do this for 2.6.20, but it's
probably too late for that.
Acked-by: Ingo Molnar <mingo@xxxxxxxxxx>
Ingo
-
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/