From: Keir Fraser Subject: Re: RFC: [0/2] Remove netloop by lazy copying in netback Date: Tue, 20 Mar 2007 10:22:17 +0000 Message-ID: References: <20070320044625.GA17463@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20070320044625.GA17463@gondor.apana.org.au> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Herbert Xu , Keir Fraser , Xen Development Mailing List List-Id: xen-devel@lists.xenproject.org On 20/3/07 04:46, "Herbert Xu" wrote: > These two patches remove the need for netloop by performing the > copying in netback and only if it is necessary. The rationale > is that most packets will be processed without delay allowing > them to be freed without copying at all. So instead of copying > every packet destined to dom0 we'll only copy those that linger > longer than a specified amount of time (currently 0.5s). One other thought I had -- does the Linux network stack ever modify date residing outside the main skbuff data area (i.e., data in fragments)? If it ever does, wouldn't your delayed copy in netback potentially race such updates? If the Linux network stack guarantees never to do such a thing, that would be nice for us. :-) -- Keir