Re: [RFC] New inf-procfs module (replacing procfs)

Michael Snyder
2006-01-27T21:46:49Z

Joel Brobecker wrote:
>>Something we had always considered, but shied away from,
>>is to actually split procfs.c into two separate modules:
>>one for the old API, and one for the new. It's the only
>>way you can really get rid of all those ifdefs, and if
>>you're considering a major re-org anyway...
>>
>>Just putting out the idea.
>
>
> An interesting idea. The only concern I have is code duplication,
> it'd be nice to be able to continue sharing the code that is already
> shared. I'll keep that in mind!

Yeah, that was always our concern too. I wonder, though, now
that the general form of the code is fairly "mature" -- how many
future bug fixes would be likely to have the same fix in both
modules? Or even to *need* fixing in both modules?