HomeFreeBSD

Revert the part of r239864 which removed obtaining the SMP mutex around

Description

Revert the part of r239864 which removed obtaining the SMP mutex around
reading registers from other CPUs. As it turns out, the hardware doesn't
really like concurrent IPI'ing causing adverse effects. Also the thought
deadlock when using this spin lock here and the targeted CPU(s) are also
holding or in case of nested locks can't actually happen. This is due to
the fact that on sparc64, spinlock_enter() only raises the PIL but doesn't
disable interrupts completely. Thus direct cross calls as used for the
register reading (and all other MD IPI needs) still will be executed by
the targeted CPU(s) in that case.

MFC after: 3 days

Details

Provenance
mariusAuthored on Jan 23 2013, 10:52 PM
Parents
rGfb709557a3a9: Don't assume that all Linux TCP-level socket options are identical to
Branches
Unknown
Tags
Unknown

Event Timeline