commit | 859707334fb8444468afa7814c3514c8f3e8cf77 | [log] [tgz] |
---|---|---|
author | Olav Haugan <ohaugan@codeaurora.org> | Tue Nov 08 13:45:01 2016 -0800 |
committer | Syed Rameez Mustafa <rameezmustafa@codeaurora.org> | Tue Feb 07 14:51:15 2017 -0800 |
tree | a9cc6d532d9dbe2425c63ed1e90eff50634d2d0c | |
parent | 11113474ffa0587bf1cf6031c0f80321b109c0c5 [diff] |
core_ctl: Synchronize access to cluster cpu list Cluster cpu list traversal is not properly protected against removal of element by a separate thread. Add proper locking to ensure an element cannot be removed while accessing the list. In addition ensure we don't end up in a livelock never exiting the loop due to hotplug continuously moving elements to the end of the list. Change-Id: Ie98fe48c2f4fdd0244573229b77ee9823df9e214 Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>