Re: More on bigger kdev_t

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 10 Oct 1999 19:08:19 +0100 (BST)


> > The kernel makes quite heavy use of kdev_t. That means carrying around
> > expensive to handle multi-register objects is right out
>
> ... so that would mean we should use a pointer to the structure
> instead of directly passing the structure.

That means a pointer dereference and a potential cache miss every time.

> I just don't want to see us have to transition userland twice.

Userland is irrelevant, userland right now has a totally different idea of
dev_t than kernel land.

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