Re: [PATCH] firmware: wake all waiters

From: Luis R. Rodriguez
Date: Thu Jun 29 2017 - 15:49:15 EST


On Thu, Jun 29, 2017 at 12:08 PM, Davidlohr Bueso <dave@xxxxxxxxxxxx> wrote:
> On Tue, 27 Jun 2017, Luis R. Rodriguez wrote:
>>
>> * As a side effect of this; the data structures are slimmer.
>> *
>> - * One would recommend using this wait queue where possible.
>> + * NOTE: swait is for cases of extreme memory considerations and some
>> very
>> + * special realtime issues, where it saves a couple of bytes in
>> structures that
>> + * need close packing. As such its very special-use. Consider using
>> regular
>> + * waits queues from wait.h instead *first*.
>
>
> How about the following?

And do we want to make it even more *special-use* by wrapping it with
#ifndef MODULE as suggested by Matthew Wilcox ?

Luis