[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] PoD: Fix two code comments
# HG changeset patch # User Liu, Jinsong <jinsong.liu@xxxxxxxxx> # Date 1295020021 0 # Node ID 3ce532e56efda5557664bc3d6edff285317d5ff0 # Parent 7e42363f9005e948dfdd3e76d6d72635c2edce5b PoD: Fix two code comments Signed-off-by: Liu, Jinsong <jinsong.liu@xxxxxxxxx> Acked-by: George Dunlap <george.dunlap@xxxxxxxxxx> --- tools/libxc/xc_hvm_build.c | 5 +++-- xen/include/xen/sched.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff -r 7e42363f9005 -r 3ce532e56efd tools/libxc/xc_hvm_build.c --- a/tools/libxc/xc_hvm_build.c Fri Jan 14 15:21:24 2011 +0000 +++ b/tools/libxc/xc_hvm_build.c Fri Jan 14 15:47:01 2011 +0000 @@ -431,8 +431,9 @@ int xc_hvm_build(xc_interface *xch, /* xc_hvm_build_target_mem: * Create a domain for a pre-ballooned virtualized Linux, using * files/filenames. If target < memsize, domain is created with - * memsize pages marked populate-on-demand, and with a PoD cache size - * of target. If target == memsize, pages are populated normally. + * memsize pages marked populate-on-demand, + * calculating pod cache size based on target. + * If target == memsize, pages are populated normally. */ int xc_hvm_build_target_mem(xc_interface *xch, uint32_t domid, diff -r 7e42363f9005 -r 3ce532e56efd xen/include/xen/sched.h --- a/xen/include/xen/sched.h Fri Jan 14 15:21:24 2011 +0000 +++ b/xen/include/xen/sched.h Fri Jan 14 15:47:01 2011 +0000 @@ -209,7 +209,7 @@ struct domain spinlock_t domain_lock; spinlock_t page_alloc_lock; /* protects all the following fields */ - struct page_list_head page_list; /* linked list, of size tot_pages */ + struct page_list_head page_list; /* linked list */ struct page_list_head xenpage_list; /* linked list (size xenheap_pages) */ unsigned int tot_pages; /* number of pages currently possesed */ unsigned int max_pages; /* maximum value for tot_pages */ _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |