diff options
| author | thorpej <thorpej@NetBSD.org> | 2021-10-21 00:54:15 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2021-10-21 00:54:15 +0000 |
| commit | 045526336ec2fb23dced2fea49d806784c240be3 (patch) | |
| tree | 761c38a4861945b9c04c6023abaf1fb3e7277add /sys/modules/examples/panic_string/panic_string.c | |
| parent | 80051538efe7fde322a0cf4a2537a50e3ddf8b29 (diff) | |
- Don't use a separate kqueue_timer_lock; just protect those knotes
with the kq->kq_lock.
- Re-factor the guts of knote_activate() into knote_activate_locked(),
and use it in a few places to avoid a few unlock-the-immediately-lock
cycles.
- Define a FILT_TIMER_NOSCHED macro, rather than hard-coding (uintptr_t)-1
in a bunch of difference place.
NFC.
Diffstat (limited to 'sys/modules/examples/panic_string/panic_string.c')
0 files changed, 0 insertions, 0 deletions
