Don't lock timeouts in db_show_callout.
authorart <art@openbsd.org>
Mon, 14 Jul 2008 15:17:08 +0000 (15:17 +0000)
committerart <art@openbsd.org>
Mon, 14 Jul 2008 15:17:08 +0000 (15:17 +0000)
commit25431f283335bf333f0b42d744050b318255aea7
tree06b1b1e94ddb78a40cb8a4db2df05e9ffb693607
parent6f6e825df5ee79ab582f604f53b7c0fec447470d
Don't lock timeouts in db_show_callout.

All cpus are stopped and this cpu blocks all interrupts. It doesn't make
sense to grab locks that ddb can then jump past with longjmp.

Noticed by Pierre Riteau. I just forgot about the bug until reminded
today.
sys/kern/kern_timeout.c