Rev 4292 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4292 | Rev 5270 | ||
---|---|---|---|
Line -... | Line 1... | ||
- | 1 | /* |
|
- | 2 | * kernel/workqueue.c - generic async execution with shared worker pool |
|
- | 3 | * |
|
- | 4 | * Copyright (C) 2002 Ingo Molnar |
|
- | 5 | * |
|
- | 6 | * Derived from the taskqueue/keventd code by: |
|
- | 7 | * David Woodhouse |
|
- | 8 | * Andrew Morton |
|
- | 9 | * Kai Petzke |
|
- | 10 | * Theodore Ts'o |
|
- | 11 | * |
|
- | 12 | * Made to use alloc_percpu by Christoph Lameter. |
|
- | 13 | * |
|
- | 14 | * Copyright (C) 2010 SUSE Linux Products GmbH |
|
- | 15 | * Copyright (C) 2010 Tejun Heo |
|
- | 16 | * |
|
- | 17 | * This is the generic async execution mechanism. Work items as are |
|
- | 18 | * executed in process context. The worker pool is shared and |
|
- | 19 | * automatically managed. There are two worker pools for each CPU (one for |
|
- | 20 | * normal work items and the other for high priority ones) and some extra |
|
- | 21 | * pools for workqueues which are not bound to any specific CPU - the |
|
- | 22 | * number of these backing pools is dynamic. |
|
- | 23 | * |
|
- | 24 | * Please read Documentation/workqueue.txt for details. |
|
- | 25 | */ |
|
- | 26 | ||
- | 27 | #include |
|
1 | #include |
28 | #include |
- | 29 | #include |
|
- | 30 | #include |
|
2 | #include |
31 | #include |
- | 32 | #include |
|
- | 33 | #include |
|
- | 34 | #include |
|
- | 35 | ||
- | 36 | ||
3 | #include |
37 | #include |
Line 4... | Line 38... | ||
4 | 38 | ||
Line 5... | Line 39... | ||
5 | extern int driver_wq_state; |
39 | extern int driver_wq_state; |