Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 21 Feb 2003 09:48:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 21 Feb 2003 09:48:14 -0500 Received: from noodles.codemonkey.org.uk ([213.152.47.19]:33726 "EHLO noodles.internal") by vger.kernel.org with ESMTP id ; Fri, 21 Feb 2003 09:48:13 -0500 Date: Fri, 21 Feb 2003 15:10:32 +0000 From: Dave Jones To: Hugh Dickins Cc: Thomas Schlichter , Andrew Morton , Linux Kernel Subject: Re: [PATCH][2.5] replace flush_map() in arch/i386/mm/pageattr.c w ith flush_tlb_all() Message-ID: <20030221151032.GD22285@codemonkey.org.uk> Mail-Followup-To: Dave Jones , Hugh Dickins , Thomas Schlichter , Andrew Morton , Linux Kernel References: <20030221142039.GA21532@codemonkey.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.3i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 762 Lines: 20 On Fri, Feb 21, 2003 at 02:52:38PM +0000, Hugh Dickins wrote: > Of course that's much much better. But I think rather better as > static inline void on_each_cpu(void (*func) (void *info), void *info) > passing info to func instead of assuming NULL. inline? maybe. Sounds good to me. As for inline - This thing will be generating lots of IPIs on SMP, so its hardly going to be performance critical, so we could leave it out of line IMO. Dave -- | Dave Jones. http://www.codemonkey.org.uk | SuSE Labs - 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/