[PATCH 3/7] Drivers: hv: hv_balloon: don't lose memory when onlining order is not natural

2015-03-10 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov Memory blocks can be onlined in random order. When this order is not natural some memory pages are not onlined because of the redundant check in hv_online_page(). Here is a real world scenario: 1) Host tries to hot-add the following (process_hot_add):

[PATCH 3/7] Drivers: hv: hv_balloon: don't lose memory when onlining order is not natural

2015-03-10 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov vkuzn...@redhat.com Memory blocks can be onlined in random order. When this order is not natural some memory pages are not onlined because of the redundant check in hv_online_page(). Here is a real world scenario: 1) Host tries to hot-add the following (process_hot_add):