Add "nuke_balloon_minimum_target.patch"
This commit is contained in:
parent
de7ad4f58f
commit
62b13e66b6
12
patches.qubes/nuke_balloon_minimum_target.patch
Normal file
12
patches.qubes/nuke_balloon_minimum_target.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
--- linux-2.6.34.1/drivers/xen/balloon/balloon.c.orig 2010-09-03 12:41:58.369787360 +0200
|
||||||
|
+++ linux-2.6.34.1/drivers/xen/balloon/balloon.c 2010-09-03 12:43:27.771891174 +0200
|
||||||
|
@@ -269,6 +269,9 @@
|
||||||
|
min_pages = MB2PAGES(296) + (max_pfn >> 5);
|
||||||
|
#undef MB2PAGES
|
||||||
|
|
||||||
|
+ /* We don't want any artificial limit */
|
||||||
|
+ min_pages = 0;
|
||||||
|
+
|
||||||
|
/* Don't enforce growth */
|
||||||
|
return min(min_pages, curr_pages);
|
||||||
|
#ifndef CONFIG_XEN
|
@ -836,3 +836,5 @@
|
|||||||
patches.xen/xen-x86_64-pgd-alloc-order
|
patches.xen/xen-x86_64-pgd-alloc-order
|
||||||
patches.xen/xen-x86_64-dump-user-pgt
|
patches.xen/xen-x86_64-dump-user-pgt
|
||||||
patches.xen/xen-x86_64-note-init-p2m
|
patches.xen/xen-x86_64-note-init-p2m
|
||||||
|
|
||||||
|
patches.qubes/nuke_balloon_minimum_target.patch
|
||||||
|
Loading…
Reference in New Issue
Block a user