Re: [PATCH 6/8] PM: Add suspend blocking work.

From: Tejun Heo
Date: Sat May 01 2010 - 02:16:00 EST


On 05/01/2010 12:36 AM, Arve HjÃnnevÃg wrote:
> Allow work to be queued that will block suspend while it is pending
> or executing. To get the same functionality in the calling code often
> requires a separate suspend_blocker for pending and executing work, or
> additional state and locking. This implementation does add additional
> state and locking, but this can be removed later if we add support for
> suspend blocking work to the core workqueue code.
>
> Signed-off-by: Arve HjÃnnevÃg <arve@xxxxxxxxxxx>

Reviewed-by: Tejun Heo <tj@xxxxxxxxxx>

Thank you.

--
tejun
--
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/