|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] RFC: [0/2] Remove netloop by lazy copying in netback
On 25/3/07 12:41, "Herbert Xu" <herbert@xxxxxxxxxxxxxxxxxxx> wrote:
> Actually looking into it further for ia64 there is still a problem.
> We use large pages for the identity mapping on ia64. In order to
> modify the PTE we'd have to break the large pages.
>
> Am I missing something obvious?
No.
Actually I changed my mind -- your original scheme (strip the original
pseudophysical frame of its RAM, and add that original pseudophys frame into
the netback set of frames) has the very nice advantage that we don't end up
with queued packets taking space in the netback frame pool. I missed that
your scheme essentially switches the roles of a normal RAM frame and a
netback frame, so that you end up with a freed-up netback frame at the end
of the swap. Sorry about that.
So we're back to the problem of doing this switch when Xen is doing the p2m
translation (as on ia64 for example). On x86 we have a XENMEM_add_to_physmap
hypercall. This could be generalised to other architectures and extended.
For example, we could add a XENMAPSPACE_gpfn -- which would mean take the
'thing' currently mapped at the specified gpfn and map it at the new gpfn
location instead. I'd certainly personally rather see add_to_physmap()
extended than add extra single-purpose crap to the grant-table interfaces.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-devel] RFC: [0/2] Remove netloop by lazy copying in netback, (continued)
- Re: [Xen-devel] RFC: [0/2] Remove netloop by lazy copying in netback, Herbert Xu
- Re: [Xen-devel] RFC: [0/2] Remove netloop by lazy copying in netback, Keir Fraser
- Re: [Xen-devel] RFC: [0/2] Remove netloop by lazy copying in netback, Herbert Xu
- Re: [Xen-devel] RFC: [0/2] Remove netloop by lazy copying in netback, Keir Fraser
- RE: [Xen-devel] RFC: [0/2] Remove netloop by lazy copying in netback, Ian Pratt
- RE: [Xen-devel] RFC: [0/2] Remove netloop by lazy copying in netback, Santos, Jose Renato G
- RE: [Xen-devel] RFC: [0/2] Remove netloop by lazy copying in netback, Ian Pratt
- RE: [Xen-devel] RFC: [0/2] Remove netloop by lazy copying in netback, Santos, Jose Renato G
- RE: [Xen-devel] RFC: [0/2] Remove netloop by lazy copying in netback, Ian Pratt
- Re: [Xen-devel] RFC: [0/2] Remove netloop by lazy copying in netback, Herbert Xu
- Re: [Xen-devel] RFC: [0/2] Remove netloop by lazy copying in netback,
Keir Fraser <=
- Re: [Xen-devel] RFC: [0/2] Remove netloop by lazy copying in netback, Herbert Xu
- Re: [Xen-devel] RFC: [0/2] Remove netloop by lazy copying in netback, Keir Fraser
- Re: [Xen-devel] RFC: [0/2] Remove netloop by lazy copying in netback, Herbert Xu
- Re: [Xen-devel] RFC: [0/2] Remove netloop by lazy copying in netback, Keir Fraser
- Re: [Xen-devel] RFC: [0/2] Remove netloop by lazy copying in netback, Herbert Xu
- Re: [Xen-devel] RFC: [0/2] Remove netloop by lazy copying in netback, Keir Fraser
- Re: [Xen-devel] RFC: [0/2] Remove netloop by lazy copying in netback, Keir Fraser
- Re: [Xen-devel] RFC: [0/2] Remove netloop by lazy copying in netback, Herbert Xu
- Re: [Xen-devel] RFC: [0/2] Remove netloop by lazy copying in netback, Keir Fraser
- Re: [Xen-devel] RFC: [0/2] Remove netloop by lazy copying in netback, Herbert Xu
|
|
|
|
|