Re: Suggested dual human/binary interface for proc/devfs

Richard Gooch (rgooch@ras.ucalgary.ca)
Sat, 15 Apr 2000 00:53:24 -0600


Albert D. Cahalan writes:
>
> Richard Gooch writes:
> > Linus Torvalds writes:
> >> On Wed, 12 Apr 2000, Richard Gooch wrote:
>
> >>> You mean define a FS-specific structure and point generic_ip to it?
> >>
> >> Yes. Or, if the FS-specific field is small enough, then just make it
> >> part of the union of FS-specific stuff.
> >
> > Fine. Actually, one day I hope to see the union blown away and every
> > FS just write a pointer.

I didn't say this.

> Not without benchmarks I hope! You get double the number of memory
> allocations, most likely increased memory usage, and the extra
> overhead (register pressure and memory access?) of indirection.

Regards,

Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca

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