User: Password:
|
|
Subscribe / Log in / New account

Developers versus administrators

Developers versus administrators

Posted Feb 25, 2011 9:44 UTC (Fri) by misiu_mp (guest, #41936)
In reply to: Developers versus administrators by epa
Parent article: debugfs: rules not welcome

Isn't it a good idea to make the really useful stuff part of the kernel api and maintain it for backwards compatibility? This could only strengthen the system.
I understand if features in debugfs are made by the kernel hackers themselves for their own benefit, but if those things become useful to others, they should be "productized".
After all if debugfs is used today with no warranties of compatibility, then whatever uses is will be a burden to maintain and will make the useful stuff
just a niche. Making the useful stuff a solid part of the kernel could open for new possibilities.

I would like to see some examples of
"things which are useful and safe to enable on production systems to fix whatever problems come up today, but need not become supported interfaces to preserve forever".


(Log in to post comments)

Developers versus administrators

Posted Feb 28, 2011 17:04 UTC (Mon) by epa (subscriber, #39769) [Link]

but if those things become useful to others, they should be "productized".
But that's not the same thing as 'maintained with an unchanging interface for ever after'.

It might be a useful thing to see how many times the frobfs code calls frob_inode(). Essential, even, for performance tuning on large systems. But the frobfs developers want to have freedom to change their code to get rid of the frob_inode() call without breaking backwards compatibility. So there must be a way to label this stuff as usable in production, but not guaranteed to be there in future kernel versions.

In general any kind of instrumentation that works based on the kernel's internal data structures or control flow is useful to see but not a part of its API.


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds