Re: [PATCH v6 5/6] PM / Runtime: force memory allocation with no I/Oduring Runtime PM callbcack

From: Ming Lei
Date: Tue Nov 27 2012 - 22:06:39 EST


On Wed, Nov 28, 2012 at 5:24 AM, Rafael J. Wysocki <rjw@xxxxxxx> 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
--
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/