diff options
| author | 2008-09-10 14:01:22 +0000 | |
|---|---|---|
| committer | 2008-09-10 14:01:22 +0000 | |
| commit | e15e1c8c1b0f8079e70cf84a08c3e3cc51ef6b53 (patch) | |
| tree | d3d8a7030040a3af4c3c262455d8acd4f4d4bebd /sys/kern/sched_bsd.c | |
| parent | There's no need to fully traverse the wakeup queue when waking a specific (diff) | |
| download | wireguard-openbsd-e15e1c8c1b0f8079e70cf84a08c3e3cc51ef6b53.tar.xz wireguard-openbsd-e15e1c8c1b0f8079e70cf84a08c3e3cc51ef6b53.zip | |
Convert timeout_add() calls using multiples of hz to timeout_add_sec()
Really just the low-hanging fruit of (hopefully) forthcoming timeout
conversions.
ok art@, krw@
Diffstat (limited to 'sys/kern/sched_bsd.c')
| -rw-r--r-- | sys/kern/sched_bsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sched_bsd.c b/sys/kern/sched_bsd.c index e7babbb88ed..0de34540858 100644 --- a/sys/kern/sched_bsd.c +++ b/sys/kern/sched_bsd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sched_bsd.c,v 1.17 2008/07/18 23:43:31 art Exp $ */ +/* $OpenBSD: sched_bsd.c,v 1.18 2008/09/10 14:01:23 blambert Exp $ */ /* $NetBSD: kern_synch.c,v 1.37 1996/04/22 01:38:37 christos Exp $ */ /*- @@ -269,7 +269,7 @@ schedcpu(void *arg) } uvm_meter(); wakeup(&lbolt); - timeout_add(to, hz); + timeout_add_sec(to, 1); } /* |
