diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2008-12-18 14:13:49 +0300 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-12-21 06:21:15 +0300 |
commit | fecba96268fc48ab9b4a016356a8f2371df25e64 (patch) | |
tree | e9fb3bbbccee326d7ea0cbb4ffa8c4e7d31afcb7 /arch/powerpc/sysdev/pmi.c | |
parent | 2218108e182fd8a6d9106077833ed7ad05fc8e75 (diff) | |
download | linux-fecba96268fc48ab9b4a016356a8f2371df25e64.tar.xz |
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/sysdev/pmi.c')
0 files changed, 0 insertions, 0 deletions