diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2008-12-18 11:13:49 +0000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-12-21 14:21:15 +1100 |
commit | fecba96268fc48ab9b4a016356a8f2371df25e64 (patch) | |
tree | e9fb3bbbccee326d7ea0cbb4ffa8c4e7d31afcb7 /arch/powerpc/platforms/512x/mpc5121_ads.h | |
parent | 2218108e182fd8a6d9106077833ed7ad05fc8e75 (diff) |
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/platforms/512x/mpc5121_ads.h')
0 files changed, 0 insertions, 0 deletions