commit | e420249d44d02e9fc110087ed8feddc38b13528c | [log] [tgz] |
---|---|---|
author | Nicholas Piggin <npiggin@gmail.com> | Wed Apr 19 23:05:49 2017 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Sun Apr 23 20:31:57 2017 +1000 |
tree | eca13379193eb23bb9519d1a71d43414fb27dc88 | |
parent | adbcf8d74f4609e142b01520afa173bfe911122b [diff] |
powerpc/64s: Idle do not hold reservation longer than required When taking the core idle state lock, grab it immediately like a regular lock, rather than adding more tests in there. Holding the lock keeps it stable, so there is no need to do it whole holding the reservation. Reviewed-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com> Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>