]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00273500 IPUv3 dev: use wait_event_interruptible for ipu task
authorLiu Ying <Ying.Liu@freescale.com>
Thu, 1 Aug 2013 08:32:11 +0000 (16:32 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 16 Jun 2014 13:48:38 +0000 (15:48 +0200)
commitd8d982bb78941b4d8c67ee1fdc312d3ea2f03f31
tree102b1cdd62388cc368d07ca4f9b3ad6d7cca52e7
parentb0da539252092e4e1443359d92682b1a02a74cf0
ENGR00273500 IPUv3 dev: use wait_event_interruptible for ipu task

The ipu task thread checks outstanding tasks to be done on waiting
event uninterruptibly on the function find_task()'s return value.
However, sleeping on waiting event uninterruptibly contributes to
system load average value. This patch changes wait_event() to
wait_event_interruptible() to avoid the load average value inflation.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit ec9479ffc757eaefa9b8d4942c37e3634e15599c)
drivers/mxc/ipu3/ipu_device.c