We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6a46f7 commit fe48ba7Copy full SHA for fe48ba7
kernel/workqueue.c
@@ -2599,6 +2599,7 @@ __acquires(&pool->lock)
2599
*/
2600
set_work_pool_and_clear_pending(work, pool->id);
2601
2602
+ pwq->stats[PWQ_STAT_STARTED]++;
2603
raw_spin_unlock_irq(&pool->lock);
2604
2605
lock_map_acquire(&pwq->wq->lockdep_map);
@@ -2625,7 +2626,6 @@ __acquires(&pool->lock)
2625
2626
* workqueues), so hiding them isn't a problem.
2627
2628
lockdep_invariant_state(true);
- pwq->stats[PWQ_STAT_STARTED]++;
2629
trace_workqueue_execute_start(work);
2630
worker->current_func(work);
2631
/*
0 commit comments