Re: [PATCHv2 06/10] xen/balloon: only hotplug additional memory if required

From: David Vrabel
Date: Wed Jul 29 2015 - 12:03:22 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/