]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
xen: handle highmem pages correctly when shrinking a domain
authorIan Campbell <ian.campbell@citrix.com>
Fri, 23 Jan 2009 16:26:21 +0000 (16:26 +0000)
committerIngo Molnar <mingo@elte.hu>
Fri, 23 Jan 2009 17:55:28 +0000 (18:55 +0100)
commitff4ce8c332859508dc97826ab8b7f42bb9c212c9
tree091c7d3adf9c045129b76c1757094dce7792cc08
parent42ef73fe134732b2e91c0326df5fd568da17c4b2
xen: handle highmem pages correctly when shrinking a domain

Commit 1058a75f07b9bb8323fb5197be5526220f8b75cf ("xen: actually release
memory when shrinking domain") causes a crash if the page being released
is a highmem page.

If a page is highmem then there is no need to unmap it.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/xen/balloon.c