Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753452AbbHVKDk (ORCPT ); Sat, 22 Aug 2015 06:03:40 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:34804 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753377AbbHVKDi (ORCPT ); Sat, 22 Aug 2015 06:03:38 -0400 Date: Sat, 22 Aug 2015 12:03:33 +0200 From: Ingo Molnar To: Denys Vlasenko Cc: Linus Torvalds , Kees Cook , David Drysdale , Andy Lutomirski , "linux-kernel@vger.kernel.org" , Will Drewry , Alok Kataria , Borislav Petkov , Alexei Starovoitov , Frederic Weisbecker , "H. Peter Anvin" , Oleg Nesterov , Steven Rostedt , X86 ML Subject: Re: [Regression v4.2 ?] 32-bit seccomp-BPF returned errno values wrong in VM? Message-ID: <20150822100333.GA23288@gmail.com> References: <55CCB510.3060807@redhat.com> <55CD0DAC.9080809@redhat.com> <55CDCEF4.1090906@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55CDCEF4.1090906@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1235 Lines: 35 * Denys Vlasenko wrote: > It was nearly inevitable that something would break during untangling. 1) So the 'chronic lack of compat, audit/noaudit and Wine testing' was certainly avoidable. The problem wasn't the fact that something was bound to break, but the latency of finding these bugs. If we cannot reduce the latency so that bugs are caught early enough (before they reach mainline) then we shouldn't be doing such changes. We are slowly adding tests for that in the x86 self-tests, but IMHO we should be more proactive than that. 2) Another structural problem I saw occasionally was the attempt to characterise away regressions. That's a 100% no-no: if a change breaks any user-space program, it does not matter how 'correct' a change is, how weird the user-space dependence and how rare the user-space program: the regression needs to be fixed either by going forward with a fix or by going backwards via reverting the change. Thanks, Ingo -- 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/