Re: [PATCH] PM / suspend: show workqueues busy name in suspend flow
From: Tejun Heo
Date: Tue Jun 28 2016 - 12:56:35 EST
Hello, Roger.
On Mon, Jun 27, 2016 at 05:44:05PM +0800, Roger Lu wrote:
> show_workqueue_state() is a better choice to me. However, only freezable
> workqueue is able to affect suspend flow. So, is there other mailing
> list discussing about showing freezable workqueue state only?? Maybe we
> can use that API in this case. Thanks very much.
>
> freezable workqueue means workqueue is created with flag WQ_FREEZABLE.
It's for debugging anyway and workqueue dumps usually are pretty
short. I don't think it's fine to use the same function. We can add
flags in the printouts but I'm not even sure that'd be necessary.
Thanks.
--
tejun