Just as an aside, /proc/pci was slated for deletion a long time ago. There
were warnings emitted by the kernel every time something accessed it for
some time. /proc/pci is dependent on a (large) list of names being in the
kernel to map the numbers to text. I think the plans to kill /proc/pci
have been abandoned, however. (The table makes the kernel big, but most of
it gets released once the pci bus scan is complete ala __init_data.)
As for code maint. and kernel changes breaking things... both happen already
with the text based system. Binary structures can be constructed to be
extensible without breaking old tools. Plus, the information exported from
the kernel (in the case of processes) need not change with every version
of the kernel.
I don't think people realize just how many CPU cycles are being needlessly
expended in passing information between the kernel and the user. When I
have the time, I'll add binary interfaces for various things and show exactly
how expensive the existing system is -- all for the sake of being able to
use 'cat' and 'grep'.
--Ricky
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/