From: "James Harper" <james.harper@bendigoit.com.au>
To: tinnycloud <tinnycloud@hotmail.com>, xen-devel@lists.xensource.com
Subject: RE: TODO in windows balloon driver
Date: Sat, 26 Feb 2011 23:17:54 +1100 [thread overview]
Message-ID: <AEC6C66638C05B468B556EA548C1A77D01C559A0@trantor> (raw)
In-Reply-To: <BLU157-ds12B8CAE5490173D7A39E59DADD0@phx.gbl>
>
> HI James:
>
> I've noticed the TODO tag in xenpci/xenpci_fdo.c, line 294
>
> 290 KdPrint((__DRIVER_NAME " Calling
> HYPERVISOR_memory_op(XENMEM_populate_physmap) - pfn_count = %d\n",
> pfn_count));
> 291 ret = HYPERVISOR_memory_op(xpdd,
XENMEM_populate_physmap,
> &reservation);
> 292 ExFreePoolWithTag(pfns, XENPCI_POOL_TAG);
> 293 KdPrint((__DRIVER_NAME " populated %d pages\n",
ret));
> 294 /* TODO: what do we do if less than the required number
of
> pages were populated??? can this happen??? */
>
>
> Could we fix it in linux balloon driver way?
> When no enough pfn_count got, give memory back to xen.
> What do you think?
> Thanks.
I guess that would work, but then it would keep trying to decrease again
every second. Maybe that's what we want but I'd rather put in some sort
of backoff in there eg retry in one second then two seconds then 4
seconds etc up to a maximum of 1 minute or so, to reduce the noise.
Are you seeing this happen? I'm guessing it's because xen doesn't have
enough pages for you or because you've ballooned up above the maxmem
limit or something...
James
next prev parent reply other threads:[~2011-02-26 12:17 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <SNT0-MC4-F15TlpsWqi0002f5ac@snt0-mc4-f15.Snt0.hotmail.com>
2010-12-17 3:24 ` Win2003 got blue Screen when ballooning with serial out put: "Iomem mapping not permitted" tinnycloud
2010-12-17 8:53 ` Paul Durrant
2010-12-17 9:20 ` James Harper
2010-12-20 2:06 ` tinnycloud
2011-01-05 13:11 ` Could the page sharing inside domain? (memory_sharing on xen) xiaoyun.maoxy
2011-02-25 5:56 ` TODO in windows balloon driver tinnycloud
2011-02-26 12:17 ` James Harper [this message]
2011-02-26 13:35 ` MaoXiaoyun
2011-02-27 1:43 ` James Harper
2011-02-27 3:35 ` James Harper
2011-02-26 11:20 ` blue screen " xiaoyun.maoxy
[not found] ` <000301cbd5a7$3245a1b0$96d0e510$@maoxy@aliyun-inc.com>
2011-02-26 11:59 ` James Harper
2010-12-17 9:39 ` Win2003 got blue Screen when ballooning with serial out put: "Iomem mapping not permitted" tinnycloud
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=AEC6C66638C05B468B556EA548C1A77D01C559A0@trantor \
--to=james.harper@bendigoit.com.au \
--cc=tinnycloud@hotmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).