Searched hist:fabb657005edbbcb0d13ee49a40f1f4b042a1d19 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/powerpc/platforms/cell/spufs/ |
H A D | sched.c | diff fabb657005edbbcb0d13ee49a40f1f4b042a1d19 Fri Jul 04 14:05:39 CDT 2008 Maxim Shchetynin <maxim@de.ibm.com> powerpc/spufs: add atomic busy_spus counter to struct cbe_spu_info
As nr_active counter includes also spus waiting for syscalls to return we need a seperate counter that only counts spus that are currently running on spu side. This counter shall be used by a cpufreq governor that targets a frequency dependent from the number of running spus.
Signed-off-by: Christian Krafft <krafft@de.ibm.com> Acked-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|