diff options
author | Liu, Jinsong <jinsong.liu@intel.com> | 2011-01-14 15:47:01 +0000 |
---|---|---|
committer | Liu, Jinsong <jinsong.liu@intel.com> | 2011-01-14 15:47:01 +0000 |
commit | ecc523710a45b2301866b023435517600aec09b9 (patch) | |
tree | 05e45439256884db4c5b2b49c6988847631ceedd | |
parent | 23b4cad2cd3f9a2c5f44e8ae0c5944b3410fadfa (diff) | |
download | xen-ecc523710a45b2301866b023435517600aec09b9.tar.gz xen-ecc523710a45b2301866b023435517600aec09b9.tar.bz2 xen-ecc523710a45b2301866b023435517600aec09b9.zip |
PoD: Fix two code comments
Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>
-rw-r--r-- | tools/libxc/xc_hvm_build.c | 5 | ||||
-rw-r--r-- | xen/include/xen/sched.h | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/tools/libxc/xc_hvm_build.c b/tools/libxc/xc_hvm_build.c index d3a2e194a1..dbac09467c 100644 --- a/tools/libxc/xc_hvm_build.c +++ b/tools/libxc/xc_hvm_build.c @@ -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 --git a/xen/include/xen/sched.h b/xen/include/xen/sched.h index 5087781710..c5def0b03f 100644 --- a/xen/include/xen/sched.h +++ b/xen/include/xen/sched.h @@ -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 */ |