Subject: Re: multiple references to p -> v mappings
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 09/11/2005 19:16:27
On Sun, Sep 11, 2005 at 06:42:07PM +0200, Manuel Bouyer wrote:
> Hi,
> this is a question for UVM gurus :)
> I'm trying to implement 0-copy in xen's network backend, and have to solve
> a VM issue.

It is actually worth doing some checks that the 0-copy is actually
a performace gain.
You might find that a fast data copy [1] is quicker than all the TLB and VM
manipulations that are needed for the page loaning.

	David

[1] 'rep movsl' may not be the fastest way even for long(ish) data copies.

-- 
David Laight: david@l8s.co.uk