From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750952AbWGAV6f (ORCPT ); Sat, 1 Jul 2006 17:58:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750941AbWGAV6f (ORCPT ); Sat, 1 Jul 2006 17:58:35 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:36747 "EHLO ZenIV.linux.org.uk") by vger.kernel.org with ESMTP id S1750787AbWGAV6f (ORCPT ); Sat, 1 Jul 2006 17:58:35 -0400 Date: Sat, 1 Jul 2006 22:58:23 +0100 From: Al Viro To: Linus Torvalds Cc: Theodore Tso , Jeff Bailey , "H. Peter Anvin" , Michael Tokarev , Roman Zippel , klibc@zytor.com, linux-kernel@vger.kernel.org, Pavel Machek Subject: Re: [klibc] klibc and what's the next step? Message-ID: <20060701215823.GC29920@ftp.linux.org.uk> References: <20060630181131.GA1709@elf.ucw.cz> <44A5AE17.4080106@tls.msk.ru> <44A5B07E.9040007@zytor.com> <1151751417.2553.8.camel@localhost.localdomain> <20060701150506.GA10517@thunk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jul 01, 2006 at 01:08:17PM -0700, Linus Torvalds wrote: > > > On Sat, 1 Jul 2006, Theodore Tso wrote: > > > > This is going to be a problem given that people are hell-bent at > > chucking functionality out of the kernel into userspace. > > Btw, I'm not necessarily one of those people. > > There _are_ some things that can be better done in user space, but on the > other hand, other things really are better off in the kernel. > > The argument that user space is more debuggable has been shown to be > largely a red herring. User space is only more debuggable if it does > something independent, and we've seen that user space is _harder_ to debug > than kernel space if we have events going back and forth. True. However, that depends on the interfaces being used. Sure, when a twit "moves things to userland" by marshalling stuff through sysfs, the only thing it achieves is more sysfs crap *and* more internal kernel APIs being cast in stone. However, when the code really is a series of normal syscalls (on the level of "all we call is sys_something()"), it makes a lot of sense to take the damn thing to userland and leave it there...