HomeFreeBSD

MFC r213736: generic_stop_cpus: prevent parallel execution
rS225580Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

MFC r213736: generic_stop_cpus: prevent parallel execution

Addendum to the original commit message:
This is mostly useful to protect kdb_trap() from concurrent entry as it
doesn't have any protection like e.g. panic(9) has. Even if kdb_trap()
had that protection there would still be a need for protection
between concurrect panic() and kdb_trap() entries. That protection
could be implemented externally, but doing it in generic_stop_cpus()
seems to be OK as well (stopping CPUs on panic is in the works).

Details

Provenance
avgAuthored on
Parents
rS225579: MFC r209030,209305,209358: In dtrace lexer, do not unput token if it is EOF.
Branches
Unknown
Tags
Unknown

Event Timeline