Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758135Ab2BXU5Y (ORCPT ); Fri, 24 Feb 2012 15:57:24 -0500 Received: from mail-pw0-f46.google.com ([209.85.160.46]:33012 "EHLO mail-pw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756350Ab2BXU5X (ORCPT ); Fri, 24 Feb 2012 15:57:23 -0500 Authentication-Results: mr.google.com; spf=pass (google.com: domain of gregkh@linuxfoundation.org designates 10.68.125.233 as permitted sender) smtp.mail=gregkh@linuxfoundation.org Date: Fri, 24 Feb 2012 12:56:51 -0800 From: Greg KH To: Henrik Rydberg Cc: Guenter Roeck , Jidong Xiao , Kernel development list Subject: Re: Can we move device drivers into user-space? Message-ID: <20120224205651.GA13333@kroah.com> References: <20120224153811.GA16535@kroah.com> <1330103229.23014.130.camel@groeck-laptop> <20120224171752.GB9485@kroah.com> <20120224183423.GA23284@kroah.com> <20120224191535.GA4505@polaris.bitmath.org> <20120224192643.GB24120@kroah.com> <20120224201027.GA4859@polaris.bitmath.org> <20120224201655.GA5994@kroah.com> <20120224203715.GA4995@polaris.bitmath.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120224203715.GA4995@polaris.bitmath.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2235 Lines: 47 On Fri, Feb 24, 2012 at 09:37:15PM +0100, Henrik Rydberg wrote: > On Fri, Feb 24, 2012 at 12:16:55PM -0800, Greg KH wrote: > > On Fri, Feb 24, 2012 at 09:10:27PM +0100, Henrik Rydberg wrote: > > > I am not complaining about the kernel and its driver structure - on > > > the contrary. I do, however, see a reason why constructing lower-level > > > interfaces to userspace may be of benefit. The kernel is growing > > > tremendously fast. Sooner or later, parts of the present driver > > > responsibility will have to be split into smaller chunks. Why not > > > place those chunks outside the kernel itself? > > > > I fail to understand why you think the growth of the kernel will require > > drivers to be split into chunks in the future. Are we somehow growing > > faster than is required / needed / wanted and outstripping the size of > > what we are allowed to take up on machines? > > How long can one grow and still claim to _be_ a kernel? You tell me. I know of lots of "kernels" that are far bigger than Linux, and people still consider them a kernel. > The current > (arbitrary) split between kernel and userland was made a long time > ago. For a number of reasons, of course, but not least out of > convenience. Projecting the current kernel growth ten years into the > future, will there still not be another (arbitrary) convenient split? Why? What problems are we having with our existing user/kernel split that would drive such a change? > Even so, the main point was not whether a secondary split may or may > not happen, but what will happen to the quality of the total system > when/if that happens. I doubt the fate of userland drivers would be so > heatedly discussed if everyone believed that work would be carried out > with the same quality currently found in the kernel. Quality is not the only reason we don't want userspace drivers for some types of devices. Realize what drivers provide to userspace today and you will understand that. thanks, greg k-h -- 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/