From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTP id 381A1892 for ; Fri, 23 May 2014 14:02:45 +0000 (UTC) Received: from mail-ob0-f175.google.com (mail-ob0-f175.google.com [209.85.214.175]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 5B83F1FD46 for ; Fri, 23 May 2014 14:02:44 +0000 (UTC) Received: by mail-ob0-f175.google.com with SMTP id wo20so5442338obc.6 for ; Fri, 23 May 2014 07:02:43 -0700 (PDT) MIME-Version: 1.0 Sender: jwboyer@gmail.com In-Reply-To: <20140523021347.GB26799@kroah.com> References: <20140521201108.76ab84af@notabene.brown> <2980546.hqgiQV7seV@vostro.rjw.lan> <20140522154859.GA28971@thunk.org> <20140523021347.GB26799@kroah.com> Date: Fri, 23 May 2014 10:02:43 -0400 Message-ID: From: Josh Boyer To: Greg KH Content-Type: text/plain; charset=ISO-8859-1 Cc: ksummit-discuss@lists.linuxfoundation.org Subject: Re: [Ksummit-discuss] [CORE TOPIC] [nomination] Move Fast and Oops Things List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, May 22, 2014 at 10:13 PM, Greg KH wrote: > On Thu, May 22, 2014 at 09:31:44AM -0700, Dan Williams wrote: >> On Thu, May 22, 2014 at 8:48 AM, Theodore Ts'o wrote: >> > On Wed, May 21, 2014 at 04:03:49PM -0700, Dan Williams wrote: >> >> Simply, if an end user knows how to override a "gatekeeper" that user >> >> can test features that we are otherwise still debating upstream. They >> >> can of course also apply the patches directly, but I am proposing we >> >> formalize a mechanism to encourage more experimentation in-tree. >> >> >> >> I'm fully aware we do not have the tactical data nor operational >> >> control to run the kernel like a website, that's not my concern. My >> >> concern is with expanding a maintainer's options for mitigating risk. >> > >> > Various maintainers are doing this sort of thing already. For >> > example, file system developers stage new file system features in >> > precisely this way. Both xfs and ext4 have done this sort of thing, >> > and certainly SuSE has used this technique with btrfs to only support >> > those file system features which they are prepared to support. >> > >> > The problem is using this sort of gatekeeper is something that a >> > maintainer has to use in combination with existing techniques, and it >> > doesn't necessarliy accelerate development by all that much. In >> > particular, if it has any kind of kernel ABI or file system format >> > implications, we need to make sure the interfaces are set in stone >> > before we can let it into the mainline kernel, even if it is not >> > enabled by default. (Consider the avidity that userspace application >> > developers can sometimes have for using even debugging interfaces such >> > as ftrace, and the "no userspace breakages" rule. So not only do you >> > have to worry about userspace applicaitons not using a feature which >> > is protected by a gatekeeper, you also have to worry about premature >> > pervasive use of a feature such that you can't change the interface >> > any more.) >> >> I agree that something like this is prickly once it gets entangled >> with ABI concerns. But, I disagree with the speed argument... unless >> you believe -staging has not increased the velocity of kernel >> development? > > As the maintainer of drivers/staging/ I don't think it has increased the > speed of the development of other parts of the kernel at all. Do you > have numbers that show otherwise? > >> Neil already disabused me of the idea that a "gatekeeper" could be >> used to beneficial effect in the core kernel, and I can see it's >> equally difficult to use this in filesystems that need to be careful >> of ABI changes. However, nothing presented so far has swayed me from >> my top of mind concern which is the ability to ship pre-production >> driver features in the upstream kernel. I'm thinking of it as >> "-staging for otherwise established drivers". > > The thing you need to realize is that the large majority of people who > would ever use that new "feature" will not until it ends up in an > "enterprise" kernel release. And that will not be for another few > years, so while you think you got it all right, we really don't know who > is using it, or how well it works, for a few years. I don't entirely agree with that. Many of the non-enterprise distros are rebasing more frequently, and collectively their user bases are pretty large. Fedora, Arch, Ubuntu, and OpenSuSE get requests to enable new features all the time. If you consider the distros that have an enterprise downstream (e.g. Fedora, OpenSuSE), you even get people picking those up and using them as previews for the next EL release. So yes, EL kernels have massive userbases and they tend to adopt very slowly. However, as soon as code is in a released upstream kernel, a non-trivial number of people are going to be able to use it. If you factor in hot-topic things like containers (docker docker docker), those features are requested in the non-EL distros very rapidly (sometimes even before they're merged). Maybe Dan's case isn't hot-topic enough to match this, but there is certainly the possibility of early adoption and usage by a large number of users as soon as code lands. josh