Merge back earlier suspend/hibernation changes for v4.8.
[sfrench/cifs-2.6.git] / kernel / power / process.c
index 0c2ee9761d57b7aa585e0191b5fbfcd7d84d6ae4..8f27d5a8adf6ba509a5d915c6a20f4ed14fe552e 100644 (file)
@@ -89,6 +89,9 @@ static int try_to_freeze_tasks(bool user_only)
                       elapsed_msecs / 1000, elapsed_msecs % 1000,
                       todo - wq_busy, wq_busy);
 
+               if (wq_busy)
+                       show_workqueue_state();
+
                if (!wakeup) {
                        read_lock(&tasklist_lock);
                        for_each_process_thread(g, p) {