Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932228AbZLHPgD (ORCPT ); Tue, 8 Dec 2009 10:36:03 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932156AbZLHPgA (ORCPT ); Tue, 8 Dec 2009 10:36:00 -0500 Received: from casper.infradead.org ([85.118.1.10]:48873 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932116AbZLHPfv (ORCPT ); Tue, 8 Dec 2009 10:35:51 -0500 Subject: Re: [RFC,PATCH 14/14] utrace core From: Peter Zijlstra To: Oleg Nesterov Cc: Alexey Dobriyan , Ananth Mavinakayanahalli , Christoph Hellwig , "Frank Ch. Eigler" , Ingo Molnar , Roland McGrath , linux-kernel@vger.kernel.org, utrace-devel@redhat.com In-Reply-To: <20091208150417.GA11883@redhat.com> References: <20091124200220.GA5828@redhat.com> <1259697242.1697.1075.camel@laptop> <20091201220847.GA25400@redhat.com> <1260210877.3935.594.camel@laptop> <20091208150417.GA11883@redhat.com> Content-Type: text/plain; charset="UTF-8" Date: Tue, 08 Dec 2009 16:35:34 +0100 Message-ID: <1260286534.3935.1511.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1122 Lines: 28 On Tue, 2009-12-08 at 16:04 +0100, Oleg Nesterov wrote: > The > problem is, this code was developed out-of-tree. That is why we would > like to merge it asap, then do other changes which could be easily > reviewed. > > Now, do you really mean we should throw out the working code, rewrite > it avoiding these barriers, and resubmit? Sure, everything is possible. > But this means another round of out-of-tree development with unclear > results. Out-of-tree development is bad, it having taken lot of effort is no excuse for merging ugly. Now, I'm not against barriers at all, but code that is as barrier heavy as this, with such bad comments and no clear indication it was actually worth using so many barriers make me wonder. Barriers aren't free either, and having multiple such things in quick succession isn't nessecarily faster than a lock, but much less obvious. -- 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/