All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mukesh Rathor <mukesh.rathor@oracle.com>
To: Dan Magenheimer <dan.magenheimer@oracle.com>
Cc: Joshua West <jwest@brandeis.edu>,
	xen-devel <xen-devel@lists.xensource.com>,
	kurt.hackel@oracle.com, annie.li@oracle.com,
	James Harper <james.harper@bendigoit.com.au>,
	Keir Fraser <keir.fraser@eu.citrix.com>,
	wayne.gong@oracle.com
Subject: Re: Error restoring DomU when using GPLPV
Date: Wed, 16 Sep 2009 13:50:22 -0700	[thread overview]
Message-ID: <4AB14F8E.2050804@oracle.com> (raw)
In-Reply-To: <363bf0d0-3856-4c20-87c0-fa834deb6a9f@default>

just in case someone missed the thread earlier,

3 = 1 shinfo + 2 gnt frames default.

so, tot_pages + shinfo + num gnt frames.


Mukesh



Dan Magenheimer wrote:
> Before we close down this thread, I have a concern:
> 
> According to Mukesh, the fix to this bug is dependent
> on the pv drivers tracking tot_pages for a domain
> and ballooning to ensure tot_pages+3 does not exceed
> max_pages for the domain.
> 
> Well, tmem can affect tot_pages for a domain inside
> the hypervisor without any notification to pv drivers
> or the balloon driver.  And I'd imagine that PoD and
> future memory optimization mechanisms such as
> swapping and page-sharing may do the same.
> 
> So this solution seems very fragile.
> 
> Dan
> 
>> -----Original Message-----
>> From: Keir Fraser [mailto:keir.fraser@eu.citrix.com]
>> Sent: Wednesday, September 16, 2009 6:28 AM
>> To: Annie Li
>> Cc: Joshua West; Dan Magenheimer; xen-devel; Kurt Hackel; 
>> James Harper;
>> Wayne Gong
>> Subject: Re: [Xen-devel] Error restoring DomU when using GPLPV
>>
>>
>> On 16/09/2009 12:10, "ANNIE LI" <annie.li@oracle.com> wrote:
>>
>>>> I will do more test to make sure it and update here.
>>> I tried to map 256 grant frames during initialization and 
>> balloon down
>>> 256+1(shinfo+gnttab) pages driver first
>>> load. Then i did save/restore for 50 times, and live 
>> migration for 10
>>> times. No error occurs.
>> Okay, well I still can't explain why that fixes it, but 
>> clearly it does. So
>> that's good. :-)
>>
>>  -- Keir
>>
>>
>>
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

  reply	other threads:[~2009-09-16 20:50 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-04  1:22 Error restoring DomU when using GPLPV James Harper
2009-08-04  1:41 ` James Harper
2009-08-04  5:30   ` James Harper
2009-08-04  6:10     ` James Harper
2009-08-04  7:58       ` James Harper
2009-08-04  8:21         ` Keir Fraser
2009-08-04  9:01           ` James Harper
2009-08-04  9:27             ` Keir Fraser
2009-08-04  9:34               ` James Harper
2009-08-04 10:28                 ` Keir Fraser
2009-08-04 10:40                   ` James Harper
2009-08-04 11:02                     ` Keir Fraser
2009-08-04 11:34                       ` James Harper
2009-08-04 13:12                         ` Keir Fraser
2009-08-18  8:17                           ` Pasi Kärkkäinen
2009-08-18  9:33                             ` James Harper
2009-08-19  7:39                               ` ANNIE LI
2009-08-19  7:52                                 ` Keir Fraser
2009-08-20  3:21                                   ` ANNIE LI
2009-09-05  4:02                           ` Mukesh Rathor
2009-09-05  6:49                             ` Keir Fraser
2009-08-20  8:17                       ` ANNIE LI
2009-08-20  8:27                         ` Keir Fraser
2009-08-20  9:42                           ` James Harper
2009-08-20 10:05                             ` ANNIE LI
2009-08-20 10:20                               ` Keir Fraser
2009-08-20 11:55                               ` ANNIE LI
2009-08-20 12:28                                 ` Keir Fraser
2009-08-21  4:11                                   ` ANNIE LI
2009-08-26 11:04                                     ` ANNIE LI
2009-08-27  9:28                                       ` ANNIE LI
2009-08-28  3:10                                         ` ANNIE LI
2009-09-02  4:05                                           ` ANNIE LI
2009-09-02  4:27                                             ` ANNIE LI
2009-09-04 21:28                                               ` Dan Magenheimer
2009-09-04 23:02                                                 ` Dan Magenheimer
2009-09-05  6:52                                                   ` Keir Fraser
2009-09-05  7:33                                                     ` ANNIE LI
2009-09-15  2:25                                                     ` Mukesh Rathor
2009-09-15  7:39                                                       ` Keir Fraser
2009-09-15 19:14                                                         ` Mukesh Rathor
2009-09-15 21:25                                                           ` Keir Fraser
2009-09-15 21:29                                                             ` Keir Fraser
2009-09-15 22:27                                                               ` Mukesh Rathor
2009-09-16  4:37                                                               ` ANNIE LI
2009-09-16 11:10                                                                 ` ANNIE LI
2009-09-16 12:28                                                                   ` Keir Fraser
2009-09-16 18:09                                                                     ` Dan Magenheimer
2009-09-16 20:50                                                                       ` Mukesh Rathor [this message]
2009-09-17  6:21                                                                         ` Keir Fraser
2009-09-17 15:41                                                                           ` Dan Magenheimer
2009-09-24 20:24                                                                   ` Error restoring DomU when using GPLPV / fix for GPLPV drivers Pasi Kärkkäinen
2009-10-27 20:05                                                                     ` Keith Coleman
2009-08-20 10:19                             ` Error restoring DomU when using GPLPV Keir Fraser
2009-08-20 10:41                               ` Keir Fraser
2009-08-04 10:39               ` James Harper
2009-08-04  9:26           ` James Harper
2009-08-25 10:02             ` Wayne Gong

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=4AB14F8E.2050804@oracle.com \
    --to=mukesh.rathor@oracle.com \
    --cc=annie.li@oracle.com \
    --cc=dan.magenheimer@oracle.com \
    --cc=james.harper@bendigoit.com.au \
    --cc=jwest@brandeis.edu \
    --cc=keir.fraser@eu.citrix.com \
    --cc=kurt.hackel@oracle.com \
    --cc=wayne.gong@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.