commit | 0459ddfdb31e7d812b555a2530ecbacdf96961a6 | [log] [tgz] |
---|---|---|
author | Nicholas Piggin <npiggin@gmail.com> | Wed Aug 09 22:41:21 2017 +1000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Wed Aug 09 23:45:26 2017 +1000 |
tree | 872d7e7c3ea27de89c18a2710c672038281f2c8e | |
parent | 7310d5c8c55e8987a854507f71022f8de676bbf4 [diff] |
powerpc: NMI IPI improve lock primitive When the NMI IPI lock is contended, spin at low SMT priority, using loads only, and with interrupts enabled (where possible). This improves behaviour under high contention (e.g., a system crash when a number of CPUs are trying to enter the debugger). Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>