Quote of the week
Posted Oct 12, 2006 13:40 UTC (Thu) by
ebiederm (subscriber, #35028)
In reply to:
Quote of the week by dougg
Parent article:
Quote of the week
Beyond the obvious: Documentation/stable_api_nonsense.txt
The reason for this change is that this api became very difficult to support on one of the architectures, and that architecture is in tree. In tree code is more important that out of tree code. Plus the argument was unused.
As for the kernel tarball size the last anyone checked it is growing linearly and hard drives are growing exponentially so unless relatively the kernel is getting smaller. Having a driver in tree is actuall less code because you don't need the backwards compatibility cruft so for people needing to maintain things an in tree driver is actually less code and less work because they don't have to search for the driver and the driver they have to read is smaller.
Beyond which people really did work out strategies to keep drivers working on older kernels.
As for political clout to get a driver in, in most cases all it takes is a little bravery. Adding a totally new class of driver is harder but only because it takes new infrastructure and the new infrastructure needs to be discussed.
My favorite suggestion was:
#ifndef __PT_REGS
# define __PT_REGS , struct pt_regs *pt_regs
#endif
Which makes it trivial to maintain source compatibility on old kernels.
(
Log in to post comments)