1. 02 3月, 2015 1 次提交
  2. 26 1月, 2015 3 次提交
  3. 27 11月, 2014 1 次提交
  4. 04 5月, 2014 1 次提交
  5. 16 2月, 2014 1 次提交
  6. 02 8月, 2013 1 次提交
  7. 27 7月, 2013 1 次提交
  8. 17 7月, 2013 2 次提交
  9. 30 3月, 2013 2 次提交
    • K
      Drivers: hv: Notify the host of permanent hot-add failures · 7f4f2302
      K. Y. Srinivasan 提交于
      If memory hot-add fails with the error -EEXIST, then this is a permanent
      failure. Notify the host of this information, so the host will not attempt
      hot-add again. If the failure were a transient failure, host will attempt
      a hot-add after some delay.
      
      In this version of the patch, I have added some additional comments
      to clarify how the host treats different failure conditions.
      Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7f4f2302
    • K
      Drivers: hv: balloon: Support 2M page allocations for ballooning · f766dc1e
      K. Y. Srinivasan 提交于
      On Hyper-V it will be very efficient to use 2M allocations in the guest as this
      makes the ballooning protocol with the host that much more efficient. Hyper-V
      uses page ranges (start pfn : number of pages) to specify memory being moved
      around and with 2M pages this encoding can be very efficient. However, when
      memory is returned to the guest, the host does not guarantee any granularity.
      To deal with this issue, split the page soon after a successful 2M allocation
      so that this memory can potentially be freed as 4K pages.
      
      If 2M allocations fail, we revert to 4K allocations.
      
      In this version of the patch, based on the feedback from Michal Hocko
      <mhocko@suse.cz>, I have added some additional commentary to the patch
      description.
      
      Cc: Michal Hocko <mhocko@suse.cz>
      Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      f766dc1e
  10. 29 3月, 2013 1 次提交
  11. 26 3月, 2013 1 次提交
  12. 16 3月, 2013 5 次提交
  13. 09 2月, 2013 2 次提交
  14. 30 1月, 2013 1 次提交
  15. 26 1月, 2013 1 次提交
  16. 18 1月, 2013 3 次提交
  17. 22 11月, 2012 1 次提交
  18. 16 11月, 2012 1 次提交
    • K
      Drivers: hv: Add Hyper-V balloon driver · 9aa8b50b
      K. Y. Srinivasan 提交于
      Add the basic balloon driver. Windows hosts dynamically manage the guest
      memory allocation via a combination memory hot add and ballooning. Memory
      hot add is used to grow the guest memory upto the maximum memory that can be
      allocatted to the guest. Ballooning is used to both shrink as well as expand
      up to the max memory. Supporting hot add needs additional support from the
      host. We will support hot add when this support is available. For now,
      by setting the VM startup memory to the VM  max memory, we can use
      ballooning alone to dynamically manage memory allocation amongst
      competing guests on a given host.
      Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com>
      Reviewed-by: NHaiyang Zhang <haiyangz@microsoft.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      9aa8b50b