Received: by 10.192.165.148 with SMTP id m20csp2190813imm; Thu, 3 May 2018 11:57:19 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqXHbUXpNrHPqeCxHZHYAvi3h0j9KG6C0qPBXXdRrFrvnBLKNByw9bK+K/AytYWWN9gutbe X-Received: by 2002:a17:902:848e:: with SMTP id c14-v6mr21828224plo.129.1525373839597; Thu, 03 May 2018 11:57:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525373839; cv=none; d=google.com; s=arc-20160816; b=KBNK99wiqG1TyFV+3IT/lRDjspunkp6i+SPh/szwsr2wx2/L7j3W4BGkNrZGHLviTw zNcnXG0djJ7QwOi+h4na03TjOuLQURJhFqIpm4Do9kCzUQsasc8sG1xqXSvDR7w3t++9 5u+3IrU/yqJ1dBXbv9rLXb1zcOVoZkbQWqFPOul/xnXIoa1DRlyPbBAqTQIenIMgWnLu d60hv5I/hQgjBPIdaa7TUfWqom4tc1u7ns15wdbd4qP1J9Yhz0u4rFmZLUteDWbcvv7J swsVruLyDGhxNTjNdFSqDNqwnCaQxDMCd6awBwYACCnItQoUD6n5qyye+mIaSpgqWLPk XkSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=vyFcUWFxd1uWYib6PaBkkSrvAxuMYX42MUo6wM7QcsE=; b=ZOT712pNMouH552TOTsa7779CVH5pjZo1723mO4BuuKvMX2zQfqnpfsM+J8/agx2tN 21yE7YXnbhe6pH2JT6s9wh0B8hVeqLVK5QgXB/m4+ICcKNVrBWHIAud+E2DwMoccC0XJ SfDJCuR6fA1yri25UNhY1hgx5NV/X1yQOavlY+I4sg330pbIoZBS71e4GDDHy7i6l8UQ ZfHy9RSmaMXfO6GfuDYVpqny0O4iqVyYiJSge66x0I3dM9+Ij9nD/Hn8gnMu8kZmes85 a2M2cZmlKDBq6ErkJYsgruc1nInJOjVB+vn4Ep8QRzemjZUlOYemon1fIWnR07vnJwQn oYMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=o5SixRAW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x4si5062627pfm.110.2018.05.03.11.57.05; Thu, 03 May 2018 11:57:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=o5SixRAW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751287AbeECSzo (ORCPT + 99 others); Thu, 3 May 2018 14:55:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:44514 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750969AbeECSzk (ORCPT ); Thu, 3 May 2018 14:55:40 -0400 Received: from localhost (unknown [104.132.1.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2D5C52168C; Thu, 3 May 2018 18:55:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1525373740; bh=IDDGxtUNW8Ol3gpqSW5PonTgrpLb+PMelB0hFiZkfiQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=o5SixRAWze3yjyqjO4wBB55FlllbA9rwl9GONL0ROLuWYgclYCPZO8Kx5us978u+5 blsK7Y+4sdN23AL+PVD6rFm0/EHfNnIwfjc6b/TgA9Lkzp8cdpu6w3EG8gRnf/rkeo ruHp0an3o8FBot+aP7Is5uPyye9A+81k66xRxEAM= Date: Thu, 3 May 2018 11:55:29 -0700 From: Greg KH To: Al Viro Cc: Sasha Levin , "ksummit-discuss@lists.linuxfoundation.org" , "linux-kernel@vger.kernel.org" , "w@1wt.eu" Subject: Re: [Ksummit-discuss] bug-introducing patches Message-ID: <20180503185529.GB15247@kroah.com> References: <20180501163818.GD1468@sasha-vm> <20180502195138.GC18390@sasha-vm> <20180503000620.GA29205@thunk.org> <20180503144612.GJ18390@sasha-vm> <20180503165446.GB30522@ZenIV.linux.org.uk> <20180503173422.GR18390@sasha-vm> <20180503182039.GC30522@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180503182039.GC30522@ZenIV.linux.org.uk> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 03, 2018 at 07:20:39PM +0100, Al Viro wrote: > On Thu, May 03, 2018 at 05:34:24PM +0000, Sasha Levin wrote: > > > >Moreover, what the hell do you suggest in situation when > > > * foofs_barf() is b0rken in quite a few ways. There's an > > >easily triggerable memory corruptor that can be fixed locally as well > > >as something else that needs a change of e.g. ->mkdir() calling > > >conventions to take care of. The change is mechanical and fairly > > >simple, but it's already -rc4. > > > > I'm not advocating to forcefully block people from submitting patches > > after -rc4 (that was Ted's suggesting). > > I am, though - change of a method signature when we have several dozens > of instances does *not* belong in -rc5; if nothing else, it guarantees > a nightmare pile of conflicts with individual filesystem trees. > > > I'm just saying that as a maintainer, you should use your brain and > > figure out how critical the bug is, how good is the fix and how well was > > it tested, and decide if you want to merge it in or not. > > > > If it fixed the bug and didn't introduce a regression, great! If it > > messed something else, you'd have some input on how to address it better > > in the future. > > > > I'm trying to come up with a tool/system to help maintainers with > > this task because right now it's not working too well. I'm not trying to > > introduce arbitrary rules to make your life miserable. > > And I am asking you what kind of rules do you want/expect/would prefer > for Fixes: pseudo-header. *I* do not give a flying fuck for its > contents; I can put it in, if there is a good reason, though. And > the obvious consumers of that thing are -stable maintainers. Including > yourself. Which is why I am asking you what should go in there in > situation described above. And no, that's not a rhetorical question; > I really want to know. > > Let me describe it again: > * a bunch of holes is found in a function; all of them go back > several years > * a clean fix for the whole pile is a composition of > 1) local fix of trivially triggered memory corruptor > 2) tree-wide mechanical change of method signature + matching modifications > of callers of that method (say, all five of them). > 3) further changes in the function in question and its caller (which happens > to be an instance of the method modified by (2). > * dependencies between parts: (1) is standalone, (3) has a hard > dependency on (2), (1) can be reordered past (2)+(modified 3), but modifications > needed in (1) and (3) are not trivial. > * the crap fixed by (1) is much more severe than that fixed by (3) > (and (2) is an equivalent transformation which does not affect behaviour of > anything). > * too late in the cycle for tree-wide patches like (2). > > As far as I'm concerned (and if it makes -stable folks' lives unpleasant, > too fucking bad) Don't care about me for stuff like this. Fix it correctly and I'll worry about any dependancy issues later :) greg k-h