]> 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>
Wed, 20 Aug 2014 08:06:09 +0000 (10:06 +0200)
commit3b058288d96a7c3c99a20c1425af971c3a4a79a5
tree92a53ab0908e0a2738291e6cf8984972f63cfcd8
parent28579b8180704118c078f69f06ed072e9f93bde4
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