ia64/xen-unstable

changeset 10210:1dd2062668b2

[BALLOON] Remove the static lower bound on memory target from balloon driver.
Experimentation an discussion on xen-devel concludes that a dynamic method
for determining safe balloon size will be required.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Tue May 30 12:28:46 2006 +0100 (2006-05-30)
parents d5f98d23427a
children 5be9e927533d
files linux-2.6-xen-sparse/drivers/xen/balloon/balloon.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/balloon/balloon.c	Tue May 30 11:44:23 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/balloon/balloon.c	Tue May 30 12:28:46 2006 +0100
     1.3 @@ -360,12 +360,6 @@ static void balloon_process(void *unused
     1.4  /* Resets the Xen limit, sets new target, and kicks off processing. */
     1.5  static void set_new_target(unsigned long target)
     1.6  {
     1.7 -	unsigned long min_target;
     1.8 -
     1.9 -	/* Do not allow target to reduce below 2% of maximum memory size. */
    1.10 -	min_target = max_pfn / 50;
    1.11 -	target = max(target, min_target);
    1.12 -
    1.13  	/* No need for lock. Not read-modify-write updates. */
    1.14  	hard_limit   = ~0UL;
    1.15  	target_pages = target;