Re: [linux-pm] [PATCH 3/3] pm_qos: get rid of the allocation in pm_qos_add_request()

Rafael J. Wysocki
2010-07-01T22:39:50Z

On Friday, July 02, 2010, James Bottomley wrote:
> On Fri, 2010-07-02 at 00:23 +0200, Rafael J. Wysocki wrote:
> > I would apply this one too, but I need a final changelog for it. Care to send?
>
> How about:
>
> All current users of pm_qos_add_request() have the ability to supply the
> memory required by the pm_qos routines, so make them do this and
> eliminate the kmalloc() with pm_qos_add_request(). This has the double
> benefit of making the call never fail and allowing it to be called from
> atomic context.
>
> + signoffs

OK

I'll apply it shortly.

Rafael