[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [BALLOON] Remove the static lower bound on memory target from balloon driver.
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID 1dd2062668b2ef87f6dd9df254dc1063944694ac # Parent d5f98d23427a0d256b896fc63ccfd2c1f79e55ba [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@xxxxxxxxxxxxx> --- linux-2.6-xen-sparse/drivers/xen/balloon/balloon.c | 6 ------ 1 files changed, 6 deletions(-) diff -r d5f98d23427a -r 1dd2062668b2 linux-2.6-xen-sparse/drivers/xen/balloon/balloon.c --- a/linux-2.6-xen-sparse/drivers/xen/balloon/balloon.c Tue May 30 11:44:23 2006 +0100 +++ b/linux-2.6-xen-sparse/drivers/xen/balloon/balloon.c Tue May 30 12:28:46 2006 +0100 @@ -360,12 +360,6 @@ static void balloon_process(void *unused /* Resets the Xen limit, sets new target, and kicks off processing. */ static void set_new_target(unsigned long target) { - unsigned long min_target; - - /* Do not allow target to reduce below 2% of maximum memory size. */ - min_target = max_pfn / 50; - target = max(target, min_target); - /* No need for lock. Not read-modify-write updates. */ hard_limit = ~0UL; target_pages = target; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |