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

From: Albert D. Cahalan (acahalan@cs.uml.edu)
Date: Fri Apr 14 2000 - 23:09:30 EST


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.

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.

-
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:25 EST