Skip to content
Commit fabb6570 authored by Maxim Shchetynin's avatar Maxim Shchetynin Committed by Benjamin Herrenschmidt
Browse files

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: default avatarChristian Krafft <krafft@de.ibm.com>
Acked-by: default avatarJeremy Kerr <jk@ozlabs.org>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 88b90c96
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment