core_ctl: Update cluster nr_run and cpu busy stats under state lock
The cpu busy stats must be updated atomically for all cpus in
a cluster. The nr_run and max_nr stats must be updated atomically
for a cluster. These stats are accessed under state lock else where,
so take the same lock while updating them.
Change-Id: Ifd224768394cc28a9ce40c0295c37a0fb73f09cf
Signed-off-by:
Pavankumar Kondeti <pkondeti@codeaurora.org>
Loading
Please register or sign in to comment