From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752856AbbC0W0A (ORCPT ); Fri, 27 Mar 2015 18:26:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58350 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751061AbbC0WZ7 (ORCPT ); Fri, 27 Mar 2015 18:25:59 -0400 Message-ID: <5515D8EE.8050203@redhat.com> Date: Fri, 27 Mar 2015 23:25:50 +0100 From: Laszlo Ersek User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Vitaly Kuznetsov , "K. Y. Srinivasan" CC: Haiyang Zhang , devel@linuxdriverproject.org, linux-kernel@vger.kernel.org, Dexuan Cui Subject: Re: [PATCH 0/2] Drivers: hv: hv_balloon: two additional corner cases in balloon_up() References: <1427472180-21439-1-git-send-email-vkuznets@redhat.com> In-Reply-To: <1427472180-21439-1-git-send-email-vkuznets@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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