debuggers.hg

changeset 22809:3ce532e56efd

PoD: Fix two code comments

Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>
author Liu, Jinsong <jinsong.liu@intel.com>
date Fri Jan 14 15:47:01 2011 +0000 (2011-01-14)
parents 7e42363f9005
children 75b6287626ee
files tools/libxc/xc_hvm_build.c xen/include/xen/sched.h
line diff
     1.1 --- a/tools/libxc/xc_hvm_build.c	Fri Jan 14 15:21:24 2011 +0000
     1.2 +++ b/tools/libxc/xc_hvm_build.c	Fri Jan 14 15:47:01 2011 +0000
     1.3 @@ -431,8 +431,9 @@ int xc_hvm_build(xc_interface *xch,
     1.4  /* xc_hvm_build_target_mem: 
     1.5   * Create a domain for a pre-ballooned virtualized Linux, using
     1.6   * files/filenames.  If target < memsize, domain is created with
     1.7 - * memsize pages marked populate-on-demand, and with a PoD cache size
     1.8 - * of target.  If target == memsize, pages are populated normally.
     1.9 + * memsize pages marked populate-on-demand, 
    1.10 + * calculating pod cache size based on target.
    1.11 + * If target == memsize, pages are populated normally.
    1.12   */
    1.13  int xc_hvm_build_target_mem(xc_interface *xch,
    1.14                             uint32_t domid,
     2.1 --- a/xen/include/xen/sched.h	Fri Jan 14 15:21:24 2011 +0000
     2.2 +++ b/xen/include/xen/sched.h	Fri Jan 14 15:47:01 2011 +0000
     2.3 @@ -209,7 +209,7 @@ struct domain
     2.4      spinlock_t       domain_lock;
     2.5  
     2.6      spinlock_t       page_alloc_lock; /* protects all the following fields  */
     2.7 -    struct page_list_head page_list;  /* linked list, of size tot_pages     */
     2.8 +    struct page_list_head page_list;  /* linked list */
     2.9      struct page_list_head xenpage_list; /* linked list (size xenheap_pages) */
    2.10      unsigned int     tot_pages;       /* number of pages currently possesed */
    2.11      unsigned int     max_pages;       /* maximum value for tot_pages        */