From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH v3 10/10] vmxnet3: remove excess inlining Date: Fri, 6 Mar 2015 18:00:21 -0800 Message-ID: <20150306180021.2129c1f6@urahara> References: <1425600635-20628-1-git-send-email-stephen@networkplumber.org> <1425600635-20628-11-git-send-email-stephen@networkplumber.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "dev-VfR2kkLFssw@public.gmane.org" , Stephen Hemminger To: Yong Wang Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On Fri, 6 Mar 2015 23:54:23 +0000 Yong Wang wrote: > Since there is only one caller of this routine, inlining it should be > fine. But I have no problem with letting the compiler decide (which > probably will inline it anyway for this particular case). Sometimes compiler will not inline because of register pressure issues especially on 32 bit where there aren't enough registers.