1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-17 03:50:37 +00:00
Imran Khan 55df0933be workqueue: Introduce show_one_worker_pool and show_one_workqueue.
Currently show_workqueue_state shows the state of all workqueues and of
all worker pools. In certain cases we may need to dump state of only a
specific workqueue or worker pool. For example in destroy_workqueue we
only need to show state of the workqueue which is getting destroyed.

So rename show_workqueue_state to show_all_workqueues(to signify it
dumps state of all busy workqueues) and divide it into more granular
functions (show_one_workqueue and show_one_worker_pool), that would show
states of individual workqueues and worker pools and can be used in
cases such as the one mentioned above.

Also, as mentioned earlier, make destroy_workqueue dump data pertaining
to only the workqueue that is being destroyed and make user(s) of
earlier interface(show_workqueue_state), use new interface
(show_all_workqueues).

Signed-off-by: Imran Khan <imran.f.khan@oracle.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
2021-10-20 06:19:03 -10:00
..
2021-09-02 22:49:16 +02:00
2021-08-13 09:38:04 +02:00
2021-09-07 12:38:59 -07:00
2021-08-31 16:43:06 -07:00
2021-09-20 12:43:34 +01:00
2021-09-01 15:25:28 -07:00
2021-09-01 10:29:29 -07:00
2021-08-29 14:47:42 +03:00
2021-09-04 10:25:26 -07:00
2021-10-07 16:51:57 +02:00
2021-08-31 09:41:22 -07:00
2021-08-31 09:41:22 -07:00
2021-09-02 15:09:46 -07:00
2021-08-16 10:50:32 -06:00
2021-09-08 15:32:35 -07:00
2021-08-26 16:52:03 -07:00
2021-09-07 21:17:28 +02:00
2021-08-26 15:32:28 -04:00
2021-09-06 07:20:56 -04:00
2021-09-03 15:33:47 -07:00
2021-09-03 09:58:13 -07:00
2021-08-05 11:46:42 +01:00
2021-08-16 21:26:33 -07:00
2021-09-03 10:44:35 -07:00
2021-08-19 09:02:55 +09:00
2021-09-23 11:01:12 -04:00
2021-09-01 08:35:06 -07:00
2021-08-23 13:19:12 +02:00
2021-09-07 12:27:27 -07:00
2021-09-17 13:52:17 +01:00
2021-09-07 19:13:42 -07:00
2021-09-07 19:13:42 -07:00
2021-09-07 19:13:42 -07:00
2021-08-18 22:08:24 +02:00
2021-09-03 15:33:47 -07:00
2021-09-02 21:38:56 +02:00
2021-10-07 16:51:57 +02:00
2021-08-17 17:50:51 +02:00
2021-08-31 16:43:06 -07:00
2021-08-06 13:41:48 -07:00
2021-08-19 09:02:55 +09:00
2021-08-19 09:02:55 +09:00
2021-09-09 13:25:49 -07:00
2021-09-05 11:50:41 -07:00
2021-09-08 15:32:35 -07:00
2021-09-15 09:22:35 -06:00
2021-08-10 11:50:55 -04:00
2021-08-11 06:44:24 -04:00
2021-08-30 13:42:10 -07:00