]> xenbits.xensource.com Git - xen.git/commit
x86: consider modules when cutting off memory
authorJan Beulich <jbeulich@suse.com>
Mon, 2 Dec 2013 14:53:50 +0000 (15:53 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 2 Dec 2013 14:53:50 +0000 (15:53 +0100)
commit9e7ee90d11b0ba078b051b8bb1fc1b04687c100b
tree331c5f1de2d16ebdbedcc131178f9af23cedf837
parentf6d67d15969396f37a699e85e95bf84db28e3971
x86: consider modules when cutting off memory

The code in question runs after module ranges got already removed from
the E820 table, so when determining the new maximum page/PDX we need to
explicitly take them into account.

Furthermore we need to round up the ending addresses here, in order to
fully cover eventual partial trailing pages.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
master commit: a5db2c7aab7a638d84f22ac8fe5089d81175438b
master date: 2013-11-18 13:57:20 +0100
xen/arch/x86/setup.c