diff options
author | jhb <jhb@FreeBSD.org> | 2001-04-17 04:18:08 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-04-17 04:18:08 +0000 |
commit | 82848b046f3ceba1d796ce044c2df7fc6751b0a8 (patch) | |
tree | b24d73d402dafba57539f1a615d5b5e5fb09b9e6 /sys/kern/sys_process.c | |
parent | d16229755ce4eb76c4fc82062166cc254736985c (diff) | |
download | FreeBSD-src-82848b046f3ceba1d796ce044c2df7fc6751b0a8.zip FreeBSD-src-82848b046f3ceba1d796ce044c2df7fc6751b0a8.tar.gz |
Blow away the panic mutex in favor of using a single atomic_cmpset() on a
panic_cpu shared variable. I used a simple atomic operation here instead
of a spin lock as it seemed to be excessive overhead. Also, this can avoid
recursive panics if, for example, witness is broken.
Diffstat (limited to 'sys/kern/sys_process.c')
0 files changed, 0 insertions, 0 deletions