Re: [PATCH 5/5] lockdep: pack subclass/trylock/read/check into asingle argument

From: Oleg Nesterov
Date: Tue Jan 21 2014 - 15:06:26 EST


On 01/21, Steven Rostedt wrote:
>
> On Tue, 21 Jan 2014 19:43:10 +0100
> Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
>
> > Do you mean __attribute__((packed)) ?
>
> I think Dave means:
>
> unsigned char subclass : 3;
> unsigned char trylock : 1;
> unsigned char read : 2;
> unsigned char check : 1;

Ah, yes. But I don't think this will change the code generation.

Oleg.

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