Files
android_kernel_xiaomi_sm8450/arch/ia64/kernel
Tejun Heo b71ab8c202 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 <tj@kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Christoph Lameter <cl@linux-foundation.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Oleg Nesterov <oleg@redhat.com>
2010-06-29 10:07:14 +02:00
..
2010-05-18 14:45:53 -07:00
2010-02-08 10:42:17 -08:00
2005-04-16 15:20:36 -07:00
2010-02-08 10:42:17 -08:00
2006-06-21 11:19:22 -07:00
2010-03-03 11:25:59 +01:00
2009-10-29 22:34:15 +09:00
2010-05-18 14:45:54 -07:00
2008-02-04 15:42:06 -08:00
2008-02-04 15:42:06 -08:00
2009-06-17 09:33:49 -07:00
2008-04-08 13:51:35 -07:00
2009-03-27 11:11:04 -07:00
2009-03-27 11:11:04 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-12-07 10:48:19 -08:00
2010-05-18 14:45:53 -07:00
2010-02-08 10:42:17 -08:00
2007-05-08 14:51:59 -07:00
2010-02-08 10:42:17 -08:00
2010-05-18 14:45:53 -07:00
2010-02-08 10:42:17 -08:00
2010-05-18 14:45:54 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00