From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Oeser Subject: Re: [RFC][PATCH 3/3] TCP/IP Critical socket communication mechanism Date: Wed, 14 Dec 2005 14:18:48 +0100 Message-ID: <200512141418.48388.netdev@axxeo.de> References: <1134559039.25663.12.camel@localhost.localdomain> <20051214121253.GB23393@gaz.sfgoth.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: Alan Cox , Sridhar Samudrala , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Return-path: To: Mitchell Blank Jr In-Reply-To: <20051214121253.GB23393@gaz.sfgoth.com> Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Mitchell Blank Jr wrote: > Alan Cox wrote: > > > +#define SK_CRIT_ALLOC(sk, flags) ((sk->sk_allocation & __GFP_CRITICAL) | flags) > > > > Lots of hidden conditional logic on critical paths. > > How expensive is it compared to the allocation itself? Cost is readability here. You should open code this additional OR Regards Ingo Oeser