From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754017AbdIDTgu (ORCPT ); Mon, 4 Sep 2017 15:36:50 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:47982 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753957AbdIDTgs (ORCPT ); Mon, 4 Sep 2017 15:36:48 -0400 Date: Mon, 4 Sep 2017 21:36:43 +0200 From: Peter Zijlstra To: Alexey Dobriyan Cc: davem@davemloft.net, arnd@arndb.de, manfred@colorfullife.com, riel@redhat.com, hpa@zytor.com, ebiggers3@gmail.com, elena.reshetova@intel.com, keescook@chromium.org, dwindsor@gmail.com, mingo@kernel.org, jannh@google.com, serge@hallyn.com, gregkh@linuxfoundation.org, ebiederm@xmission.com, ishkamiel@gmail.com, tglx@linutronix.de, hch@infradead.org, jpoimboe@redhat.com, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, dave@stgolabs.net, linux-arch@vger.kernel.org, James.Bottomley@hansenpartnership.com, linux-tip-commits@vger.kernel.org Subject: Re: [tip:locking/core] locking/refcount: Create unchecked atomic_t implementation Message-ID: <20170904193643.GC17526@worktop.programming.kicks-ass.net> References: <20170621200026.GA115679@beast> <20170904123724.5trepllnd25r4uyt@hirez.programming.kicks-ass.net> <20170904173444.GA7233@avx2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170904173444.GA7233@avx2> User-Agent: Mutt/1.5.22.1 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 04, 2017 at 08:34:44PM +0300, Alexey Dobriyan wrote: > On Mon, Sep 04, 2017 at 02:37:24PM +0200, Peter Zijlstra wrote: > > - once.o refcount.o usercopy.o errseq.o > > -obj-y += string_helpers.o > > + once.o usercopy.o errseq.o string_helpers.o hexdump.o kstrtox.o > > + > > +obj-$(CONFIG_REFCOUNT_FULL) += refcount.o > > obj-$(CONFIG_TEST_STRING_HELPERS) += test-string_helpers.o > > -obj-y += hexdump.o > > obj-$(CONFIG_TEST_HEXDUMP) += test_hexdump.o > > -obj-y += kstrtox.o > > File per line so everything is not lumped together even if it is obj-y. If that is policy mass convert everything and be done with it. Otherwise I'll continue to use the predominant pattern, which in this case is a giant obj-y +=. But mixed stuff is terribly annoying.