Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754089AbbG2QDT (ORCPT ); Wed, 29 Jul 2015 12:03:19 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:42471 "EHLO SMTP02.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751105AbbG2QDS (ORCPT ); Wed, 29 Jul 2015 12:03:18 -0400 X-IronPort-AV: E=Sophos;i="5.15,571,1432598400"; d="scan'208";a="288933903" Message-ID: <55B8F92B.2060900@citrix.com> Date: Wed, 29 Jul 2015 17:02:51 +0100 From: David Vrabel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: Daniel Kiper CC: , Konrad Rzeszutek Wilk , Boris Ostrovsky , , Subject: Re: [PATCHv2 06/10] xen/balloon: only hotplug additional memory if required References: <1437738468-24110-1-git-send-email-david.vrabel@citrix.com> <1437738468-24110-7-git-send-email-david.vrabel@citrix.com> <20150729155535.GL3492@olila.local.net-space.pl> In-Reply-To: <20150729155535.GL3492@olila.local.net-space.pl> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-DLP: MIA1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 688 Lines: 20 On 29/07/15 16:55, Daniel Kiper wrote: > On Fri, Jul 24, 2015 at 12:47:44PM +0100, David Vrabel wrote: >> --- a/drivers/xen/balloon.c >> +++ b/drivers/xen/balloon.c >> @@ -75,12 +75,14 @@ >> * balloon_process() state: >> * >> * BP_DONE: done or nothing to do, >> + * BP_WAIT: wait to be rescheduled, > > BP_SLEEP? BP_WAIT suggests that balloon process waits for something in a loop. Waiting in a loop is what wait_event() does. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/