]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] spufs: Use separate timer for /proc/spu_loadavg calculation
authorAegis Lin <aegislin@gmail.com>
Thu, 20 Dec 2007 07:39:59 +0000 (16:39 +0900)
committerPaul Mackerras <paulus@samba.org>
Fri, 21 Dec 2007 08:46:21 +0000 (19:46 +1100)
commit90608a2928a86b9464a8698275a1138e82e3a010
tree69d1aa5589e2f3caac679ab6efd292335f0fcd8d
parentc9101bdb1b0c56a75a4618542d368fe5013946b9
[POWERPC] spufs: Use separate timer for /proc/spu_loadavg calculation

The original spusched_timer was designed to take effect only when
a context is waiting in the runqueue.

This change adds an additional lower-freq timer has been added to
purely handle the spu_load updates. The new timer will be triggered
per LOAD_FREQ ticks.

Signed-off-by: Aegis Lin <aegislin@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spufs/sched.c