All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
To: Herbert Xu <herbert@gondor.apana.org.au>,
	Keir Fraser <Keir.Fraser@xensource.com>
Cc: Xen Development Mailing List <xen-devel@lists.xensource.com>,
	Keir Fraser <keir@xensource.com>
Subject: Re: RFC: [0/2] Remove netloop by lazy copying in netback
Date: Thu, 22 Mar 2007 15:40:59 +0000	[thread overview]
Message-ID: <C228540B.C122%Keir.Fraser@cl.cam.ac.uk> (raw)
In-Reply-To: <20070322105055.GA8918@gondor.apana.org.au>


> On Tue, Mar 20, 2007 at 03:18:54AM -0700, Keir Fraser wrote:
>> 
>> That's quite a valid concern, but I think that the required addition to the
>> #PF handler (certainly for i386 and x86/64) will be clean and small, and it
>> will not affect #PF critical-path latencies. I'd be fairly optimistic about
>> it getting accepted upstream, perhaps modulo concerns over whether we'd need
>> to implement it for *every* architecture.
> 
> OK I've given it a spin and it's pretty straight-forward for
> x86 as you said.  However, we'll need a bit more work for
> ia64/ppc either on the kernel side or on the hypervisor side
> as there is no way currently to swap entries in the P2M table.
> 
> Any better suggestions for dealing with those two?

I didn't look super closely at the precise set of steps on x86 either. Do
you take a normal page of memory in the guest's address space and simply
give it an extra mapping in the netback area? Or do you take a page with no
pseudophysical address and assign it a pseudophysical address corresponding
to its place in the netback area?

I certainly assumed (a), and I think that would work fine on ia64 and
powerpc, as the page would already have a pseudophysical address?

Maybe I'm misunderstanding something... :-)

 -- Keir

  reply	other threads:[~2007-03-22 15:40 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-20  4:46 RFC: [0/2] Remove netloop by lazy copying in netback Herbert Xu
2007-03-20  4:50 ` RFC: [1/2] [XEN] gnttab: Add new op unmap_and_replace Herbert Xu
2007-03-20  4:56 ` RFC: [2/2] [NET] back: Add lazy copying Herbert Xu
2007-03-20  7:10 ` RFC: [0/2] Remove netloop by lazy copying in netback Keir Fraser
2007-03-20 10:11   ` Herbert Xu
2007-03-20 10:18     ` Keir Fraser
2007-03-22 10:50       ` Herbert Xu
2007-03-22 15:40         ` Keir Fraser [this message]
2007-03-23  3:17           ` Herbert Xu
2007-03-23 10:32             ` Keir Fraser
2007-03-23 11:42               ` Herbert Xu
2007-03-23 11:47                 ` Keir Fraser
2007-03-23 13:24                 ` Ian Pratt
2007-03-23 23:07                   ` Santos, Jose Renato G
2007-03-23 23:29                     ` Ian Pratt
2007-03-26 23:58                       ` Santos, Jose Renato G
2007-03-27 13:15                         ` Ian Pratt
2007-03-25 11:41                 ` Herbert Xu
2007-03-25 12:27                   ` Keir Fraser
2007-03-26  2:19                     ` Herbert Xu
2007-03-26 18:36                       ` Keir Fraser
2007-03-26 21:08                         ` Herbert Xu
2007-03-27  0:33                           ` Keir Fraser
2007-03-27  0:35                             ` Herbert Xu
2007-03-27  0:46                               ` Keir Fraser
2007-03-27  0:45                             ` Keir Fraser
2007-03-27  0:52                               ` Herbert Xu
2007-03-27  1:02                                 ` Keir Fraser
2007-03-27  1:08                                   ` Herbert Xu
2007-03-27  1:17                                     ` Herbert Xu
2007-03-27  3:34                                   ` Isaku Yamahata
2007-03-27  7:36                                     ` Keir Fraser
2007-03-27  7:44                                       ` Herbert Xu
2007-03-27  8:12                                         ` Keir Fraser
2007-03-27  8:15                                           ` Herbert Xu
2007-03-27  8:15                                         ` Isaku Yamahata
2007-03-27  7:51                                       ` Keir Fraser
2007-03-27  7:53                                         ` Herbert Xu
2007-03-27  7:59                                           ` Herbert Xu
2007-03-27  8:10                                             ` Keir Fraser
2007-03-27  8:13                                               ` Herbert Xu
2007-03-27  8:31                                                 ` Keir Fraser
2007-03-27  9:20                                                   ` Herbert Xu
2007-03-27  9:58                                                     ` Keir Fraser
2007-03-27 10:06                                                       ` Herbert Xu
2007-03-27 10:17                                                         ` Keir Fraser
2007-03-27 10:25                                                           ` Herbert Xu
2007-03-27 10:40                                                             ` Keir Fraser
2007-03-27 11:09                                                               ` Herbert Xu
2007-03-27  8:03                                           ` Keir Fraser
2007-03-27  8:22                                           ` Isaku Yamahata
2007-03-27 10:15                                       ` Herbert Xu
2007-03-27 10:19                                         ` Keir Fraser
2007-03-27 11:11                                           ` Herbert Xu
2007-03-27 13:50                                             ` Keir Fraser
2007-03-27 20:46                                               ` Herbert Xu
2007-03-28 13:05                                                 ` Herbert Xu
2007-03-29  6:08                                                   ` Isaku Yamahata
2007-03-27  3:41                       ` Isaku Yamahata
2007-03-27  5:45                         ` Herbert Xu
2007-03-20 10:22 ` Keir Fraser
2007-03-20 10:27   ` Keir Fraser
2007-03-20 11:50     ` David Edmondson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C228540B.C122%Keir.Fraser@cl.cam.ac.uk \
    --to=keir.fraser@cl.cam.ac.uk \
    --cc=Keir.Fraser@xensource.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=keir@xensource.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.