diff options
| author | Olav Haugan <ohaugan@codeaurora.org> | 2016-11-08 13:45:01 -0800 |
|---|---|---|
| committer | Olav Haugan <ohaugan@codeaurora.org> | 2016-11-10 14:19:00 -0800 |
| commit | c82e2f73d1028cd1ff2d6b767ea656909888e516 (patch) | |
| tree | 94bef70a86b9f8063d8123993aefb918720fecee /lib/mpi/mpi-bit.c | |
| parent | e95375540c79e0d0b48953141559fec4b6bcbf96 (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>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions
