From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757195Ab2BIIMv (ORCPT ); Thu, 9 Feb 2012 03:12:51 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:50987 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756975Ab2BIIMs (ORCPT ); Thu, 9 Feb 2012 03:12:48 -0500 Date: Thu, 9 Feb 2012 00:13:35 -0800 From: Andrew Morton To: Gilad Ben-Yossef Cc: Michal Nazarewicz , linux-kernel@vger.kernel.org, Chris Metcalf , Christoph Lameter , Frederic Weisbecker , Russell King , linux-mm@kvack.org, Pekka Enberg , Matt Mackall , Sasha Levin , Rik van Riel , Andi Kleen , Alexander Viro , linux-fsdevel@vger.kernel.org, Avi Kivity , Kosaki Motohiro , Milton Miller Subject: Re: [PATCH v8 4/8] smp: add func to IPI cpus based on parameter func Message-Id: <20120209001335.49f2360b.akpm@linux-foundation.org> In-Reply-To: References: <1328448800-15794-1-git-send-email-gilad@benyossef.com> <1328449722-15959-3-git-send-email-gilad@benyossef.com> <20120208160344.88d187e5.akpm@linux-foundation.org> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.18.9; x86_64-redhat-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 On Thu, 9 Feb 2012 10:08:16 +0200 Gilad Ben-Yossef wrote: > BTW - I used a macro since I imitated the rest of the code in smp.h > but is there any > reason not to use an inline macro here? If it can be implemented in C then sure, go for it - that's superior in numerous ways. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx148.postini.com [74.125.245.148]) by kanga.kvack.org (Postfix) with SMTP id 834C66B002C for ; Thu, 9 Feb 2012 03:12:49 -0500 (EST) Date: Thu, 9 Feb 2012 00:13:35 -0800 From: Andrew Morton Subject: Re: [PATCH v8 4/8] smp: add func to IPI cpus based on parameter func Message-Id: <20120209001335.49f2360b.akpm@linux-foundation.org> In-Reply-To: References: <1328448800-15794-1-git-send-email-gilad@benyossef.com> <1328449722-15959-3-git-send-email-gilad@benyossef.com> <20120208160344.88d187e5.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Gilad Ben-Yossef Cc: Michal Nazarewicz , linux-kernel@vger.kernel.org, Chris Metcalf , Christoph Lameter , Frederic Weisbecker , Russell King , linux-mm@kvack.org, Pekka Enberg , Matt Mackall , Sasha Levin , Rik van Riel , Andi Kleen , Alexander Viro , linux-fsdevel@vger.kernel.org, Avi Kivity , Kosaki Motohiro , Milton Miller On Thu, 9 Feb 2012 10:08:16 +0200 Gilad Ben-Yossef wrote: > BTW - I used a macro since I imitated the rest of the code in smp.h > but is there any > reason not to use an inline macro here? If it can be implemented in C then sure, go for it - that's superior in numerous ways. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org