]> xenbits.xensource.com Git - people/royger/linux-2.6.18-xen.git/commit
xen/x86: use dynamically adjusted upper bound for contiguous regions
authorJan Beulich <jbeulich@novell.com>
Mon, 25 Jul 2011 12:49:25 +0000 (13:49 +0100)
committerJan Beulich <jbeulich@novell.com>
Mon, 25 Jul 2011 12:49:25 +0000 (13:49 +0100)
commitc1d6255a7d3b7e48c01ccd0306ce1cb974a8314e
tree56473cb06ea9115ce0c266c6dae99bd8cc0fb8c9
parentedd166a6d82340ff6bd09c70efb052e76e072b11
xen/x86: use dynamically adjusted upper bound for contiguous regions

After years of not causing problems, the 2MB (order 9) limit on
contiguous regions' size was recently found to prevent booting of
certain systems - at least the FC variant of the MPT driver can
(possibly only for out-of-tree and/or post-2.6.18 versions) require
allocation of a buffer quite a bit larger than 2Mb.

Rather than increasing the limit on the order to 10, make the whole
logic dynamic - start out with a static order and respective argument
buffers large enough to allow initialization up to the point where
core_initcall()-s get processed, and from then on dynamically allocate
(and re-size) argument buffers on demand.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
arch/i386/mm/hypervisor.c