lkml.org 
[lkml]   [1999]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: More on bigger kdev_t
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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.037 / U:0.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site