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

From: Richard Gooch (rgooch@ras.ucalgary.ca)
Date: Sat Apr 15 2000 - 01:53:24 EST


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/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:26 EST