[PATCH 0/2] Drivers: hv: hv_balloon: two additional corner cases in balloon_up()

2015-03-31 Thread K. Y. Srinivasan
PATCH 1/2 addresses  a real issue introduced by the 'Drivers: hv: hv_balloon:
refuse to balloon below the floor' fix,

PATCH 2/2 addresses a currently impossible issue (as Hyper-V host never asks
to balloon more than INT_MAX pages) and is rather a cleanup. The patch is
supposed to be applied on top of previously sent 'Drivers: hv: hv_balloon:
survive ballooning request with num_pages=0'.

Both issues were found by Laszlo Ersek during code review.


Vitaly Kuznetsov (2):
  Drivers: hv: hv_balloon: correctly handle val.freeramINT_MAX case

 drivers/hv/hv_balloon.c |   15 ---
 1 files changed, 8 insertions(+), 7 deletions(-)

-- 
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 0/2] Drivers: hv: hv_balloon: two additional corner cases in balloon_up()

2015-03-31 Thread K. Y. Srinivasan
PATCH 1/2 addresses  a real issue introduced by the 'Drivers: hv: hv_balloon:
refuse to balloon below the floor' fix,

PATCH 2/2 addresses a currently impossible issue (as Hyper-V host never asks
to balloon more than INT_MAX pages) and is rather a cleanup. The patch is
supposed to be applied on top of previously sent 'Drivers: hv: hv_balloon:
survive ballooning request with num_pages=0'.

Both issues were found by Laszlo Ersek during code review.


Vitaly Kuznetsov (2):
  Drivers: hv: hv_balloon: correctly handle val.freeramnum_pages case
  Drivers: hv: hv_balloon: correctly handle num_pagesINT_MAX case

 drivers/hv/hv_balloon.c |   15 ---
 1 files changed, 8 insertions(+), 7 deletions(-)

-- 
1.7.4.1

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 0/2] Drivers: hv: hv_balloon: two additional corner cases in balloon_up()

2015-03-27 Thread Laszlo Ersek
On 03/27/15 17:02, Vitaly Kuznetsov wrote:
> PATCH 1/2 addresses  a real issue introduced by the 'Drivers: hv: hv_balloon:
> refuse to balloon below the floor' fix,
> 
> PATCH 2/2 addresses a currently impossible issue (as Hyper-V host never asks
> to balloon more than INT_MAX pages) and is rather a cleanup. The patch is
> supposed to be applied on top of previously sent 'Drivers: hv: hv_balloon:
> survive ballooning request with num_pages=0'.
> 
> Both issues were found by Laszlo Ersek during code review.
> 
> Vitaly Kuznetsov (2):
>   Drivers: hv: hv_balloon: correctly handle val.freeram   Drivers: hv: hv_balloon: correctly handle num_pages>INT_MAX case
> 
>  drivers/hv/hv_balloon.c | 15 ---
>  1 file changed, 8 insertions(+), 7 deletions(-)
> 

series
Reviewed-by: Laszlo Ersek 

Thanks, Vitaly!
Laszlo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 0/2] Drivers: hv: hv_balloon: two additional corner cases in balloon_up()

2015-03-27 Thread Vitaly Kuznetsov
PATCH 1/2 addresses  a real issue introduced by the 'Drivers: hv: hv_balloon:
refuse to balloon below the floor' fix,

PATCH 2/2 addresses a currently impossible issue (as Hyper-V host never asks
to balloon more than INT_MAX pages) and is rather a cleanup. The patch is
supposed to be applied on top of previously sent 'Drivers: hv: hv_balloon:
survive ballooning request with num_pages=0'.

Both issues were found by Laszlo Ersek during code review.

Vitaly Kuznetsov (2):
  Drivers: hv: hv_balloon: correctly handle val.freeramINT_MAX case

 drivers/hv/hv_balloon.c | 15 ---
 1 file changed, 8 insertions(+), 7 deletions(-)

-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 0/2] Drivers: hv: hv_balloon: two additional corner cases in balloon_up()

2015-03-27 Thread Vitaly Kuznetsov
PATCH 1/2 addresses  a real issue introduced by the 'Drivers: hv: hv_balloon:
refuse to balloon below the floor' fix,

PATCH 2/2 addresses a currently impossible issue (as Hyper-V host never asks
to balloon more than INT_MAX pages) and is rather a cleanup. The patch is
supposed to be applied on top of previously sent 'Drivers: hv: hv_balloon:
survive ballooning request with num_pages=0'.

Both issues were found by Laszlo Ersek during code review.

Vitaly Kuznetsov (2):
  Drivers: hv: hv_balloon: correctly handle val.freeramnum_pages case
  Drivers: hv: hv_balloon: correctly handle num_pagesINT_MAX case

 drivers/hv/hv_balloon.c | 15 ---
 1 file changed, 8 insertions(+), 7 deletions(-)

-- 
1.9.3

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 0/2] Drivers: hv: hv_balloon: two additional corner cases in balloon_up()

2015-03-27 Thread Laszlo Ersek
On 03/27/15 17:02, Vitaly Kuznetsov wrote:
 PATCH 1/2 addresses  a real issue introduced by the 'Drivers: hv: hv_balloon:
 refuse to balloon below the floor' fix,
 
 PATCH 2/2 addresses a currently impossible issue (as Hyper-V host never asks
 to balloon more than INT_MAX pages) and is rather a cleanup. The patch is
 supposed to be applied on top of previously sent 'Drivers: hv: hv_balloon:
 survive ballooning request with num_pages=0'.
 
 Both issues were found by Laszlo Ersek during code review.
 
 Vitaly Kuznetsov (2):
   Drivers: hv: hv_balloon: correctly handle val.freeramnum_pages case
   Drivers: hv: hv_balloon: correctly handle num_pagesINT_MAX case
 
  drivers/hv/hv_balloon.c | 15 ---
  1 file changed, 8 insertions(+), 7 deletions(-)
 

series
Reviewed-by: Laszlo Ersek ler...@redhat.com

Thanks, Vitaly!
Laszlo
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/