Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755131AbbG0UDP (ORCPT ); Mon, 27 Jul 2015 16:03:15 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:47887 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755074AbbG0UDN (ORCPT ); Mon, 27 Jul 2015 16:03:13 -0400 Date: Mon, 27 Jul 2015 13:03:12 -0700 From: Andrew Morton To: Josh Triplett Cc: Davidlohr Bueso , "Paul E. McKenney" , Stephen Rothwell , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: linux-next: build failure after merge of the akpm-current tree Message-Id: <20150727130312.d87e352473dfd8b431c8c07b@linux-foundation.org> In-Reply-To: <20150725223524.GA14593@x> References: <20150724153334.543cfc7b@canb.auug.org.au> <1437768965.3298.52.camel@stgolabs.net> <20150724230902.GQ3717@linux.vnet.ibm.com> <20150725194739.GA9753@x> <1437859442.3298.68.camel@stgolabs.net> <20150725223524.GA14593@x> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; 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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1123 Lines: 27 On Sat, 25 Jul 2015 15:35:24 -0700 Josh Triplett wrote: > > Some mm functionality might very possibly rely on srcu in the future if > > we expect any chances of scaling, ie: faults. So I'd rather not take a > > short term solution here, as we'll probably be discussing this again > > otherwise. > > What other mm functionality plans to use SRCU? > > Among other things, no-mmu builds might still be able to omit it. Yup. It's pretty trivial to make the shrinker srcuification be a Kconfigurable thing. A few little helper functions and we're done. That way, non-SMP kernels can use the plain old rwsem if so desired. otoh it's better to use the same mechanism on all kernels for reasons of testing coverage, maintenance cost, etc. The mm-srcu-ify-shrinkers.patch changelog is suspiciously lacking in evidence-of-benefit. We could just drop it? -- 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/