Re: More on bigger kdev_t

Stephen Frost (sfrost@ns.snowman.net)
Sat, 9 Oct 1999 17:54:02 -0400 (EDT)


On Sat, 9 Oct 1999, Guest section DW wrote:

> From: "Theodore Y. Ts'o" <tytso@mit.edu>
>
> I would suggest introducing kdev_t as a structure (and not as a pointer
> to a structure) for one reason --- it makes attempts to do any kind of
> mathematical or logical operations on a kdev_t painfully obvious.
>
> Oh, Ted - you are usually such a sensible person.
> We need a large struct with a lot of fields; one cannot go and pass
> such a struct around as function parameter. It is out of the
> question because of efficiency, but would also make the kernel
> source incorrect C.

What are all the fields for? He comments on the 16/16 major/minor
split, which seems okay if you can then query other information based on
those major/minor values. What else should be added?

Stephen

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