All of lore.kernel.org
 help / color / mirror / Atom feed
* balloon question
@ 2006-06-08 13:51 Jan Beulich
  2006-06-08 16:25 ` Keir Fraser
  0 siblings, 1 reply; 9+ messages in thread
From: Jan Beulich @ 2006-06-08 13:51 UTC (permalink / raw)
  To: xen-devel

Running with Xen option dom0_mem=6G and kernel option mem=8G, I would have expected that I would see the system with a
2G balloon right after boot. However, the balloon is empty. Briefly looking at this, it would seem to me that, with all
pages being reserved when the system starts and only the populated ones getting the reserved status cleared in
__free_pages_bootmem(), the condition to put pages into the balloon in balloon_init() is inverted.

Also, dying in xen_destroy_contiguous_region() (and similarly in the failure recovery code in
xen_create_contiguous_region()) if the space just unmapped can't be re-populated seems overly harsh (we're having a case
where this actually happens); wouldn't it make sense to make this fatal only when the page can't be replaced by a free
one (allocated inside the domain, with the page stolen for this then simply pushed into the balloon, similar to
balloon_alloc_empty_page_range() except without freeing the memory to Xen)?

Thanks for clarification,
Jan

^ permalink raw reply	[flat|nested] 9+ messages in thread
* balloon question
@ 2016-04-28  6:58 Zhang, Chunyu
  2016-04-28  9:07 ` George Dunlap
  0 siblings, 1 reply; 9+ messages in thread
From: Zhang, Chunyu @ 2016-04-28  6:58 UTC (permalink / raw)
  To: xen-users; +Cc: xen-devel


hi all

i have two question about ballon.

1. 
cfg:
     memory=4096
     maxmem=4096

no pod was set , no balloon is set .
when xl create, i find function decrease_reservation is call.
i did not why ?

2.  pod + balloon
cfg:
     memory=512
     maxmem=4096

 decrease_reservation
    - p2m_pod_decrease_reservation
        - p2m_set_entry(p2m_invalid)
    - guest_remove_page
         - p2m_set_entry(p2m_invalid)

in p2m_pod_decrease_reservation ,  gfn entry is set p2c_invalid.
but in guest_remove_page gfn entry is set p2c_invalid again.
i did not know  why?

function  guest_remove_page  can delete  ?


--------------
--------------
A new email address of FJWAN is launched from Apr.1 2007.
The updated address is: zhangcy@cn.fujitsu.com
--------------------------------------------------
Zhang Chunyu
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
No. 6 Wenzhu Road, Nanjing, 210012, China
TEL:+86+25-86630566-9566
FUJITSU INTERNAL:7998-9566
FAX:+86+25-83317685
EMail:zhangcy@cn.fujitsu.com
--------------------------------------------------
This communication is for use by the intended recipient(s) only and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not an intended recipient of this communication, you are hereby notified that any dissemination, distribution or copying hereof is strictly prohibited.  If you have received this communication in error, please notify me by reply e-mail, permanently delete this communication from your system, and destroy any hard copies you may have printed.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-04-28 10:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-08 13:51 balloon question Jan Beulich
2006-06-08 16:25 ` Keir Fraser
2006-06-09  7:00   ` Jan Beulich
2006-06-09  7:05     ` Keir Fraser
2006-06-09  9:52       ` Jan Beulich
2006-06-09 10:35         ` Keir Fraser
  -- strict thread matches above, loose matches on Subject: below --
2016-04-28  6:58 Zhang, Chunyu
2016-04-28  9:07 ` George Dunlap
2016-04-28 10:10   ` Zhang, Chunyu

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.