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

Albert D. Cahalan (acahalan@cs.uml.edu)
Sat, 15 Apr 2000 00:09:30 -0400 (EDT)


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/