From: Patrick Colp <pjcolp@cs.ubc.ca>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: xen-devel@lists.xensource.com,
Andrew Peace <Andrew.Peace@eu.citrix.com>,
Keir Fraser <keir.fraser@eu.citrix.com>,
Grzegorz Milos <gm281@cam.ac.uk>
Subject: Re: [PATCH] Paging and memory sharing for HVM guests
Date: Thu, 17 Dec 2009 09:26:19 -0800 [thread overview]
Message-ID: <4B2A69BB.3060208@cs.ubc.ca> (raw)
In-Reply-To: <4B2A642D.3040501@cs.ubc.ca>
[-- Attachment #1: Type: text/plain, Size: 1376 bytes --]
I've attached two patches which fix up the copyright and remove the
commented out code. They can be applied in any order.
Patrick
Patrick Colp wrote:
>> 1). mem_event_xen_core.patch
>>
>> "Copyright (c) 2009 Citrix (R)&D) Ltd. (Patrick Colp)"
>>
>> The lawyers might not like it the copyright being assigned to a
>> non-existent
>> entity :-(
>
> Oops. That should be easy enough to fix.
>
>
>> 2). mem_paging_xen_pfec_page_paged.patch:
>>
>> 15 + if ( p2m_is_paging(p2mt) )
>> 16 + {
>> 17 +// if ( p2m_is_paged(p2mt) )
>>
>> I think you can safely remove the commented out code.
>
> Yes we can. I thought I had removed all of the lines like that.
>
>
>> 3). mem_sharing_xen_mm.patch:
>>
>> 27 + /*
>> 28 + * Initialise our DOMID_IO domain.
>> ^^->COW
>> 29 + * This domain owns sharable pages.
>> 30 + */
>> 31 + dom_cow = domain_create(DOMID_COW, DOMCRF_dummy, 0);
>>
>>
>> 4), mem_sharing_tools_eagain.patch
>>
>> The code spins with a 1 second timeout forever. Would it make sense
>> to include a retry counter so that, say after an hour (or maybe something
>> much smaller) you give up?
>
> I'll defer these to Grzegorz.
>
>
> Patrick
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
[-- Attachment #2: mem_event_copyright_fix.patch --]
[-- Type: text/x-patch, Size: 592 bytes --]
Fix error in the copyright for mem_event.c.
Signed-off-by: Patrick Colp <Patrick.Colp@citrix.com>
diff -r 750a177eeca5 xen/arch/x86/mm/mem_event.c
--- a/xen/arch/x86/mm/mem_event.c Thu Dec 17 16:09:19 2009 +0000
+++ b/xen/arch/x86/mm/mem_event.c Thu Dec 17 09:17:11 2009 -0800
@@ -3,7 +3,7 @@
*
* Memory event support.
*
- * Copyright (c) 2009 Citrix (R)&D) Ltd. (Patrick Colp)
+ * Copyright (c) 2009 Citrix (R&D) Ltd. (Patrick Colp)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
[-- Attachment #3: mem_paging_pfec_fix.patch --]
[-- Type: text/x-patch, Size: 1054 bytes --]
Remove commented out p2m paging type check code from guest_walk.c.
Signed-off-by: Patrick Colp <Patrick.Colp@citrix.com>
diff -r 568cd42c9156 xen/arch/x86/mm/hap/guest_walk.c
--- a/xen/arch/x86/mm/hap/guest_walk.c Thu Dec 17 09:17:12 2009 -0800
+++ b/xen/arch/x86/mm/hap/guest_walk.c Thu Dec 17 09:21:56 2009 -0800
@@ -49,8 +49,7 @@
top_mfn = gfn_to_mfn_unshare(v->domain, cr3 >> PAGE_SHIFT, &p2mt, 0);
if ( p2m_is_paging(p2mt) )
{
-// if ( p2m_is_paged(p2mt) )
- p2m_mem_paging_populate(v->domain, cr3 >> PAGE_SHIFT);
+ p2m_mem_paging_populate(v->domain, cr3 >> PAGE_SHIFT);
pfec[0] = PFEC_page_paged;
return INVALID_GFN;
@@ -82,8 +81,7 @@
gfn_to_mfn_unshare(v->domain, gfn_x(gfn), &p2mt, 0);
if ( p2m_is_paging(p2mt) )
{
-// if ( p2m_is_paged(p2mt) )
- p2m_mem_paging_populate(v->domain, gfn_x(gfn));
+ p2m_mem_paging_populate(v->domain, gfn_x(gfn));
pfec[0] = PFEC_page_paged;
return INVALID_GFN;
[-- Attachment #4: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2009-12-17 17:26 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-16 23:14 [PATCH] Paging and memory sharing for HVM guests Grzegorz Milos
2009-12-16 23:52 ` Dan Magenheimer
2009-12-17 0:00 ` Patrick Colp
2009-12-17 0:15 ` Dan Magenheimer
2009-12-17 8:47 ` Jan Beulich
2009-12-17 13:08 ` Grzegorz Milos
2009-12-17 15:11 ` Patrick Colp
2009-12-17 11:19 ` Jan Beulich
2009-12-17 15:59 ` Keir Fraser
2009-12-17 18:34 ` Jeremy Fitzhardinge
2009-12-17 16:19 ` Dan Magenheimer
2009-12-18 18:05 ` Dan Magenheimer
2009-12-18 18:51 ` Patrick Colp
2009-12-20 15:04 ` Grzegorz Milos
2009-12-21 16:52 ` Dan Magenheimer
2009-12-17 16:38 ` Konrad Rzeszutek Wilk
2009-12-17 16:59 ` Jan Beulich
2009-12-17 17:05 ` Patrick Colp
2009-12-18 8:08 ` Jan Beulich
2009-12-18 17:29 ` Patrick Colp
2009-12-18 18:36 ` Konrad Rzeszutek Wilk
2009-12-18 18:54 ` Patrick Colp
2009-12-17 18:27 ` Konrad Rzeszutek Wilk
2009-12-17 17:02 ` Patrick Colp
2009-12-17 17:26 ` Patrick Colp [this message]
2009-12-17 19:47 ` Jeremy Fitzhardinge
2009-12-17 20:08 ` Patrick Colp
2009-12-17 20:15 ` Jeremy Fitzhardinge
2009-12-17 20:16 ` Jeremy Fitzhardinge
2009-12-17 20:22 ` Patrick Colp
2009-12-18 16:00 ` Jan Beulich
2009-12-18 17:16 ` Patrick Colp
2009-12-22 10:49 ` Jan Beulich
2009-12-22 11:34 ` Keir Fraser
2009-12-22 12:56 ` Jan Beulich
2009-12-22 13:35 ` Keir Fraser
2010-01-04 14:14 ` Jan Beulich
2010-01-04 15:32 ` Keir Fraser
2010-01-04 16:30 ` Jan Beulich
2010-01-05 7:51 ` Jan Beulich
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=4B2A69BB.3060208@cs.ubc.ca \
--to=pjcolp@cs.ubc.ca \
--cc=Andrew.Peace@eu.citrix.com \
--cc=gm281@cam.ac.uk \
--cc=keir.fraser@eu.citrix.com \
--cc=konrad.wilk@oracle.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.