[PATCH V2 1/2] Drivers: hv: balloon: Fix a bug in the hot-add code

2013-07-14 Thread K. Y. Srinivasan
As we hot-add 128 MB chunks of memory, we wait to ensure that the memory is onlined before attempting to hot-add the next chunk. If the udev rule for memory hot-add is not executed within the allowed time, we would rollback the state and abort further hot-add. Since the hot-add has succeeded and th

[PATCH V2 2/2] Drivers: hv: balloon: Do not post pressure status if interrupted

2013-07-14 Thread K. Y. Srinivasan
When we are posting pressure status, we may get interrupted and handle the un-balloon operation. In this case just don't post the status as we know the pressure status is stale. Signed-off-by: K. Y. Srinivasan Cc: Stable --- drivers/hv/hv_balloon.c |8 1 files changed, 8 insertions

[PATCH V2 0/2] Drivers: hv: balloon: Fix some issues in the balloon driver

2013-07-14 Thread K. Y. Srinivasan
This patch set adresses a couple of issues discovered in the balloon driver: 1. Prevent stale pressure report being posted. 2. If memory is not brought online within the allowed time, do not roll back hot add state if hot add succeeded. In this version of the patch set, I have added additional

Re: [PATCH V2 1/2] Drivers: hv: balloon: Fix a bug in the hot-add code

2013-07-14 Thread Jason Wang
On 07/15/2013 01:38 PM, K. Y. Srinivasan wrote: > As we hot-add 128 MB chunks of memory, we wait to ensure that the memory > is onlined before attempting to hot-add the next chunk. If the udev rule for > memory hot-add is not executed within the allowed time, we would rollback the > state and abort