aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/workqueue.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index eebd9a66c044..10f655ec8de6 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -2034,8 +2034,11 @@ static bool maybe_destroy_workers(struct worker_pool *pool)
2034 * multiple times. Does GFP_KERNEL allocations. 2034 * multiple times. Does GFP_KERNEL allocations.
2035 * 2035 *
2036 * RETURNS: 2036 * RETURNS:
2037 * spin_lock_irq(pool->lock) which may be released and regrabbed 2037 * %false if the pool don't need management and the caller can safely start
2038 * multiple times. Does GFP_KERNEL allocations. 2038 * processing works, %true indicates that the function released pool->lock
2039 * and reacquired it to perform some management function and that the
2040 * conditions that the caller verified while holding the lock before
2041 * calling the function might no longer be true.
2039 */ 2042 */
2040static bool manage_workers(struct worker *worker) 2043static bool manage_workers(struct worker *worker)
2041{ 2044{