diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2008-12-18 12:13:49 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-12-21 04:21:15 +0100 |
commit | fecba96268fc48ab9b4a016356a8f2371df25e64 (patch) | |
tree | e9fb3bbbccee326d7ea0cbb4ffa8c4e7d31afcb7 /arch/powerpc/kernel/ppc_ksyms.c | |
parent | powerpc: Disable Collaborative Memory Manager for kdump (diff) | |
download | linux-fecba96268fc48ab9b4a016356a8f2371df25e64.tar.xz linux-fecba96268fc48ab9b4a016356a8f2371df25e64.zip |
powerpc: Add reboot notifier to Collaborative Memory Manager
When running Active Memory Sharing, pages can get marked as
"loaned" with the hypervisor by the CMM driver. This state gets
cleared by the system firmware when rebooting the partition.
When using kexec to boot a new kernel, this state never gets
cleared and the hypervisor and CMM driver can get out of sync
with respect to the number of pages currently marked "loaned".
Fix this by adding a reboot notifier to the CMM driver to deflate
the balloon and mark all pages as active.
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/ppc_ksyms.c')
0 files changed, 0 insertions, 0 deletions