Messages in this thread |  | | Date | Wed, 28 Nov 2012 11:06:43 +0800 | | Subject | Re: [PATCH v6 5/6] PM / Runtime: force memory allocation with no I/O during Runtime PM callbcack | | From | Ming Lei <> |
| |
On Wed, Nov 28, 2012 at 5:24 AM, Rafael J. Wysocki <rjw@sisk.pl> wrote: > > Please don't duplicate code this way. > > You can move that whole thing to rpm_callback(). Yes, you'll probably need to > check dev->power.memalloc_noio twice in there, but that's OK.
Good idea, I will update it in v7.
Thanks, -- Ming Lei
|  |