From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753994Ab2AaGdG (ORCPT ); Tue, 31 Jan 2012 01:33:06 -0500 Received: from mail-vw0-f46.google.com ([209.85.212.46]:62401 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753819Ab2AaGdD convert rfc822-to-8bit (ORCPT ); Tue, 31 Jan 2012 01:33:03 -0500 MIME-Version: 1.0 X-Originating-IP: [212.179.42.66] In-Reply-To: <20120130135201.7bb5f173.akpm@linux-foundation.org> References: <1327572121-13673-1-git-send-email-gilad@benyossef.com> <1327572121-13673-2-git-send-email-gilad@benyossef.com> <20120130135201.7bb5f173.akpm@linux-foundation.org> Date: Tue, 31 Jan 2012 08:33:03 +0200 Message-ID: Subject: Re: [v7 1/8] smp: introduce a generic on_each_cpu_mask function From: Gilad Ben-Yossef To: Andrew Morton Cc: Chris Metcalf , Peter Zijlstra , Frederic Weisbecker , Russell King , linux-mm@kvack.org, Pekka Enberg , Matt Mackall , Rik van Riel , Andi Kleen , Sasha Levin , Mel Gorman , Alexander Viro , linux-fsdevel@vger.kernel.org, Avi Kivity , Michal Nazarewicz , Kosaki Motohiro , Milton Miller , linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 30, 2012 at 11:52 PM, Andrew Morton wrote: > On Sun, 29 Jan 2012 14:24:16 +0200 > Gilad Ben-Yossef wrote: > >> On Thu, Jan 26, 2012 at 12:01 PM, Gilad Ben-Yossef wrote: >> > on_each_cpu_mask calls a function on processors specified by >> > cpumask, which may or may not include the local processor. >> > >> > You must not call this function with disabled interrupts or >> > from a hardware interrupt handler or from a bottom half handler. >> > >> > Signed-off-by: Gilad Ben-Yossef >> > Reviewed-by: Christoph Lameter >> > CC: Chris Metcalf >> ... >> > --- >> > __include/linux/smp.h | __ 22 ++++++++++++++++++++++ >> > __kernel/smp.c __ __ __ __| __ 29 +++++++++++++++++++++++++++++ >> > __2 files changed, 51 insertions(+), 0 deletions(-) >> > >> >> >> Milton made the very sensible comment that while adding on_each_cpu() in the >> arch generic code and removing the two arch specific instances from tile and arm >> in separate patches is good for review, it will break bisect. >> >> He suggested I squash  them into a single commit when it goes in. >> >> Since you picked the patch set into linux-mm, will now be a good time for that? > > I can fold the patches together - I do that all the time. > > Please identify exactly whcih patches you're referring to here. > > arm-move-arm-over-to-generic-on_each_cpu_mask and > tile-move-tile-to-use-generic-on_each_cpu_mask should be folded into > smp-introduce-a-generic-on_each_cpu_mask-function, yes? Yes. Thank you. Gilad -- Gilad Ben-Yossef Chief Coffee Drinker gilad@benyossef.com Israel Cell: +972-52-8260388 US Cell: +1-973-8260388 http://benyossef.com "Unfortunately, cache misses are an equal opportunity pain provider." -- Mike Galbraith, LKML