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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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<num_pages case
  Drivers: hv: hv_balloon: correctly handle num_pages>INT_MAX case

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

-- 
1.9.3

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux