[lkml]   [2012]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Can we move device drivers into user-space?
On Mon, 27 Feb 2012, Henrik Rydberg wrote:

> Hi David,
>> the point that you seem to be missing is that the interfaces between
>> the different areas of the kernel are not stable, they change over
>> time.
> The argument was based on the idea that they would stabilize over
> time. However, I realize this may not be true, which was also touched
> upon in a later reply. The heavy-tailed nature of large changes in
> open-source projects seems to put some hard numbers behind that claim [1].

What you are hearing from the long-time kernel developers is that they
expect the interfaces to change over time.

Remember, the linux kernel has been around for a long time, and as a
result, the interfaces have gone through many iterations. There is no
reason to believe that the current version is the final one, and the
kernel developers now expect that the current interfaces are _not_ going
to remain the same forever, they expect that new technology will drive
changes in these interfaces. This is especially true for the types of
things that device drivers need.

Take for example locking. That is an implicit part of the interface to the
device drivers, and is are area with a fairly high rate of change today.
Anyone who claims that the current locking is 'correct' and can be
depended on by an out-of-tree driver for even a couple of kernel releases
is going to be either laughed at or ignored as being too ignorant to

Yes, you can look around and find interfaces in the kernel that have not
changed for a long time, but I'll bet that for every example you find,
someone else could find an example of an interface that had remained
unchanged for just about as long, but has changed fairly recently.

David Lang

 \ /
  Last update: 2012-02-27 01:57    [W:0.081 / U:1.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site