diff options
| author | Tejun Heo <[email protected]> | 2010-06-29 10:07:14 +0200 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2010-06-29 10:07:14 +0200 |
| commit | b71ab8c2025caef8db719aa41af0ed735dc543cd (patch) | |
| tree | 8cc2c6164acf5fe82e8d8d05924590cb80fe088d /tools/perf/scripts/python/syscall-counts.py | |
| parent | e22bee782b3b00bd4534ae9b1c5fb2e8e6573c5c (diff) | |
workqueue: increase max_active of keventd and kill current_is_keventd()
Define WQ_MAX_ACTIVE and create keventd with max_active set to half of
it which means that keventd now can process upto WQ_MAX_ACTIVE / 2 - 1
works concurrently. Unless some combination can result in dependency
loop longer than max_active, deadlock won't happen and thus it's
unnecessary to check whether current_is_keventd() before trying to
schedule a work. Kill current_is_keventd().
(Lockdep annotations are broken. We need lock_map_acquire_read_norecurse())
Signed-off-by: Tejun Heo <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions