Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751171AbVKCGoW (ORCPT ); Thu, 3 Nov 2005 01:44:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751168AbVKCGoW (ORCPT ); Thu, 3 Nov 2005 01:44:22 -0500 Received: from gaz.sfgoth.com ([69.36.241.230]:17605 "EHLO gaz.sfgoth.com") by vger.kernel.org with ESMTP id S1750707AbVKCGoV (ORCPT ); Thu, 3 Nov 2005 01:44:21 -0500 Date: Wed, 2 Nov 2005 22:58:09 -0800 From: Mitchell Blank Jr To: Kris Katterjohn Cc: Herbert Xu , jschlst@samba.org, davem@davemloft.net, acme@ghostprotocols.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Merge __load_pointer() and load_pointer() in net/core/filter.c; kernel 2.6.14 Message-ID: <20051103065809.GC27232@gaz.sfgoth.com> References: <5b1bc8f2a7f34523b323fc1b58ef4c26.kjak@ispwest.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5b1bc8f2a7f34523b323fc1b58ef4c26.kjak@ispwest.com> User-Agent: Mutt/1.4.2.1i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.2.2 (gaz.sfgoth.com [127.0.0.1]); Wed, 02 Nov 2005 22:58:10 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 937 Lines: 25 Kris Katterjohn wrote: > > From: Mitchell Blank Jr > > > (I trimmed the cc: list a bit; no need for this to be on LKML in my opinion) I see you just added it back. Oh well. > > So I guess use my patch and take "inline" off? What do you think? Well the original author presumably thought that the fast-path of load_pointer() was critical enough to keep inline (since it can be run many times per packet) So they made the deliberate choice of separating it into two functions - one inline, one non-inline. So my personal feeling is that the code is probably fine as it stands today. > Maybe "static" should be removed, too? Oh well. Uh, why? It's clearly a file-local function. -Mitch - 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/