Received: by 10.192.165.156 with SMTP id m28csp958708imm; Mon, 16 Apr 2018 11:29:15 -0700 (PDT) X-Google-Smtp-Source: AIpwx49i/JpvFs7qhWQgeWF2WFJU8+ViVE144UDIYaSb2WV+Hn5JifY6X/LfVgADpbBM/W+yN/zW X-Received: by 10.167.134.80 with SMTP id a16mr22705009pfo.172.1523903355818; Mon, 16 Apr 2018 11:29:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523903355; cv=none; d=google.com; s=arc-20160816; b=fKgjeYp+5Bve0qFibUUxXgJzHLhHeuOLjstACFEUoqKt+zvk51tffzXFbpbeH1hASC 0n4ncnmu8JIwKDcm+jyMxPfN5zq7vG+O1EWW0UOmE4bq8vl2XZfn3S0M0GR3hRVwCBut juxUDXHRZMBeKK02iFsX9RUThIQ7M/wm/FlvpOC1vX7blwSC+8GF8hvRPKj5HrOycJF2 yFW5eAeikgPfue7wBkSPPQpOP3jkDEK5y+CwegqIIkbaUEqZZYtZZ/o2AM96Pwkv3nLo a1CugW9KwQZO3zCTJXR1A3i+8D++CW2iRMontuVpOm1Zh/Ci6/bzB25fD2Q19dvwFvtr Ax6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dmarc-filter:arc-authentication-results; bh=EhsMpQddbEVhzrmU2gRNnXiHBmoQ7BepiK0H23lYVwA=; b=qidl9YXlDYEYGlpB5K+m8nU9TL93DNExdtQFgcyQwv6KeKPVuwXGNiP6MpfZmOqHxo 0xDLq+jeW1ZfWRFMkKhqT1HhZrxkzP/ed3657MBGgBuleEAyxpL3RJ6CYQTMDcpMa3kC KOU68AjrcZF7WSR0tUTlE8v18AbVpwuRnwg8lvuNrG3iUnfuCiKFWqbUiascrz0s0C51 zPRkgk091yhJgSvmkYqGwpyHA6xcudKRrpsuLBVMUPKgSGfRFisBgXeQjmN0yeu2cwej yHu/q1FX7SPWPUS0VfchzGfO8FaEZtmzg36BftHtM5tAf2IKxKZDVQNViy0xel2ijSSN q4XQ== ARC-Authentication-Results: i=1; mx.google.com; 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 t2si10127475pgb.338.2018.04.16.11.29.01; Mon, 16 Apr 2018 11:29:15 -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; 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 S1753289AbeDPS07 (ORCPT + 99 others); Mon, 16 Apr 2018 14:26:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:42690 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752955AbeDPS05 (ORCPT ); Mon, 16 Apr 2018 14:26:57 -0400 Received: from gandalf.local.home (cpe-66-24-56-78.stny.res.rr.com [66.24.56.78]) (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 D867421837; Mon, 16 Apr 2018 18:26:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D867421837 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=rostedt@goodmis.org Date: Mon, 16 Apr 2018 14:26:53 -0400 From: Steven Rostedt To: Sasha Levin Cc: Pavel Machek , Linus Torvalds , Petr Mladek , "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "akpm@linux-foundation.org" , "linux-mm@kvack.org" , Cong Wang , Dave Hansen , Johannes Weiner , Mel Gorman , Michal Hocko , Vlastimil Babka , Peter Zijlstra , Jan Kara , Mathieu Desnoyers , Tetsuo Handa , Byungchul Park , Tejun Heo , Greg KH Subject: Re: [PATCH AUTOSEL for 4.14 015/161] printk: Add console owner and waiter logic to load balance console writes Message-ID: <20180416142653.0f017647@gandalf.local.home> In-Reply-To: <20180416174236.GL2341@sasha-vm> References: <20180416153031.GA5039@amd> <20180416155031.GX2341@sasha-vm> <20180416160608.GA7071@amd> <20180416122019.1c175925@gandalf.local.home> <20180416162757.GB2341@sasha-vm> <20180416163952.GA8740@amd> <20180416164310.GF2341@sasha-vm> <20180416125307.0c4f6f28@gandalf.local.home> <20180416170936.GI2341@sasha-vm> <20180416133321.40a166a4@gandalf.local.home> <20180416174236.GL2341@sasha-vm> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 16 Apr 2018 17:42:38 +0000 Sasha Levin wrote: > >> https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit?id=a918d2bcea6aab6e671bfb0901cbecc3cf68fca1 > > > >Sure. Even if it has a subtle regression, that's a critical bug being > >fixed. > > This was later reverted, in -stable: > > """ > Commit d63c7dd5bcb9 ("ipr: Fix out-of-bounds null overwrite") removed > the end of line handling when storing the update_fw sysfs attribute. > This changed the userpace API because it started refusing writes > terminated by a line feed, which broke the update tools we already have. > """ I hope it wasn't reverted. It did fix a critical bug. The problem is that it only fixed a critical bug, but didn't go far enough to keep the bug fix from breaking API. I see this as two bugs being fixed. Even though the second bug was "caused" by the first fix. the first fix was still necessary. The second bug was relying on broken code. This hasn't changed my position on that patch from being backported. I would not even mark this as a regression. I would say the original code was broken too much, and fixing part of it just showed revealed another broken part. > > >> https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit?id=b1999fa6e8145305a6c8bda30ea20783717708e6 > > > >I would consider unlocking a mutex that one didn't lock a critical bug, > >so yes. > > > >Again, things that deal with locking or buffer overflows, I would take > >the fix, as those are critical. But other behavior issues where it's > >not critical, I would leave be unless told further by someone else. > > This too, was reverted: > > """ > It causes run-time breakage in the 4.4-stable tree and more patches are > needed to be applied first before this one in order to resolve the > issue. > """ It wasn't reverted in mainline. Looks like there was some subtle issues with the different stable versions. Perhaps the "fixes" was wrong. > > This is how fun it is reviewing AUTOSEL commits :) > > Even the small "trivial", "obviously correct" patches have room for > errors for various reasons. And that's fine. Any code written can have bugs in it. That's just a given. Which pushes for why we should be extremely picky about what we backport. > > Also note that all of these patches were tagged for stable and actually > ended up in at least one tree. > > This is why I'm basing a lot of my decision making on the rejection rate. > If the AUTOSEL process does the job well enough as the "regular" > process did before, why push it back? Because I think we are adding too many patches to stable. And automating it may just make things worse. Your examples above back my argument more than they refute it. If people can't determine what is "obviously correct" how is automation going to do any better? -- Steve