1. 30 10月, 2009 1 次提交
    • B
      powerpc: Add kdump support to Collaborative Memory Manager · 8be8cf5b
      Brian King 提交于
      When running Active Memory Sharing, the Collaborative Memory Manager (CMM)
      may mark some pages as "loaned" with the hypervisor. Periodically, the
      CMM will query the hypervisor for a loan request, which is a single signed
      value. When kexec'ing into a kdump kernel, the CMM driver in the kdump
      kernel is not aware of the pages the previous kernel had marked as "loaned",
      so the hypervisor and the CMM driver are out of sync. Fix the CMM driver
      to handle this scenario by ignoring requests to decrease the number of loaned
      pages if we don't think we have any pages loaned. Pages that are marked as
      "loaned" which are not in the balloon will automatically get switched to "active"
      the next time we touch the page. This also fixes the case where totalram_pages
      is smaller than min_mem_mb, which can occur during kdump.
      Signed-off-by: NBrian King <brking@linux.vnet.ibm.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      8be8cf5b
  2. 21 12月, 2008 1 次提交
    • B
      powerpc: Add reboot notifier to Collaborative Memory Manager · fecba962
      Brian King 提交于
      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: NBrian King <brking@linux.vnet.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      fecba962
  3. 20 8月, 2008 1 次提交
  4. 28 7月, 2008 1 次提交
  5. 25 7月, 2008 1 次提交