Re: More on bigger kdev_t

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 9 Oct 1999 22:32:14 +0100 (BST)


> If kdev_t is a 4 byte long structure, (i.e., using a 16/16 major/minor
> split), the compiler should be able to do a relatively good job of
> optimizing accesses to it. If not, that's a compiler bug that we should
> report, and ask the gcc/egcs folks to fix.

On many platforms

struct
{
u16 a;
u16 b;
};

is an 8 byte object.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/