]> git.baikalelectronics.ru Git - kernel.git/commit
xen: prevent crashes with non-HIGHMEM 32-bit kernels with largeish memory
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Thu, 2 Dec 2010 23:30:06 +0000 (15:30 -0800)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Thu, 2 Dec 2010 23:30:06 +0000 (15:30 -0800)
commit36a4a67c24e440c39396c6b42982399c05c74c2c
tree03550915de5b335b5c333a75709e8c8b46514703
parentd342d386a6365f1ce0d639eb5b69d03cc7ad921b
xen: prevent crashes with non-HIGHMEM 32-bit kernels with largeish memory

If this is a non-HIGHMEM 32-bit kernel, then the page structures only go
up to the limit of addressable memory, even if more memory is physically
present.  Don't try to add that extra memory to the balloon.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
drivers/xen/balloon.c