Lines Matching refs:worker
27 queue is called workqueue and the thread is called worker.
29 While there are work items on the workqueue the worker executes the
31 there is no work item left on the workqueue the worker becomes idle.
32 When a new work item gets queued, the worker begins executing again.
38 worker thread per CPU and a single threaded (ST) wq had one worker
48 worker pool. A MT wq could provide only one execution context per CPU
66 * Use per-CPU unified worker pools shared by all wq to provide
70 * Automatically regulate worker pool and level of concurrency so that
85 Special purpose threads, called worker threads, execute the functions
87 worker threads become idle. These worker threads are managed in so
88 called worker-pools.
92 which manages worker-pools and processes the queued work items.
94 There are two worker-pools, one for normal work items and the other
96 worker-pools to serve work items queued on unbound workqueues - the
107 When a work item is queued to a workqueue, the target worker-pool is
109 and appended on the shared worklist of the worker-pool. For example,
111 be queued on the worklist of either normal or highpri worker-pool that
114 For any worker pool implementation, managing the concurrency level
120 Each worker-pool bound to an actual CPU implements concurrency
121 management by hooking into the scheduler. The worker-pool is notified
122 whenever an active worker wakes up or sleeps and keeps track of the
127 workers on the CPU, the worker-pool doesn't start execution of a new
128 work, but, when the last running worker goes to sleep, it immediately
129 schedules a new worker so that the CPU doesn't sit idle while there
140 backing worker pools matching the attributes. The responsibility of
149 wq's that have a rescue-worker reserved for execution under memory
150 pressure. Else it is possible that the worker-pool deadlocks waiting
175 worker-pools try to start execution of work items as soon as
202 worker-pool of the target cpu. Highpri worker-pools are
203 served by worker threads with elevated nice level.
205 Note that normal and highpri worker-pools don't interact with
214 worker-pool from starting execution. This is useful for bound
228 at most one worker system-wide at any given time.
252 worker-pools and only one work item can be active at any given time thus
354 Because the work functions are executed by generic worker threads
383 the stack trace of the offending worker thread.