]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: bL_switcher: move to dedicated threads rather than workqueues
authorNicolas Pitre <nicolas.pitre@linaro.org>
Fri, 26 Oct 2012 06:36:17 +0000 (02:36 -0400)
committerNicolas Pitre <nicolas.pitre@linaro.org>
Tue, 30 Jul 2013 13:02:14 +0000 (09:02 -0400)
commit71ce1deeff8f9341ae3b21983e9bdde28e8c96fe
treeb4beef1523de4e5f4fb7e6b13a553e2ed3bc9ad1
parent3f09d4799ecc076cccc11ab2333a36ec849d24f5
ARM: bL_switcher: move to dedicated threads rather than workqueues

The workqueues are problematic as they may be contended.
They can't be scheduled with top priority either.  Also the optimization
in bL_switch_request() to skip the workqueue entirely when the target CPU
and the calling CPU were the same didn't allow for bL_switch_request() to
be called from atomic context, as might be the case for some cpufreq
drivers.

Let's move to dedicated kthreads instead.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
arch/arm/common/bL_switcher.c
arch/arm/include/asm/bL_switcher.h