diff options
author | art <art@openbsd.org> | 2009-04-03 09:29:15 +0000 |
---|---|---|
committer | art <art@openbsd.org> | 2009-04-03 09:29:15 +0000 |
commit | 6026e1a6e4519762d57b034550cdf30087e40d68 (patch) | |
tree | 4065dcf99ffa81ce0db04801f08c8d533da2b774 /sys/sys/sched.h | |
parent | my last commit to diff.c broke diffing in some cases, (diff) | |
download | wireguard-openbsd-6026e1a6e4519762d57b034550cdf30087e40d68.tar.xz wireguard-openbsd-6026e1a6e4519762d57b034550cdf30087e40d68.zip |
sched_peg_curproc_to_cpu() - function to force a proc to stay on a cpu
forever.
Diffstat (limited to 'sys/sys/sched.h')
-rw-r--r-- | sys/sys/sched.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/sched.h b/sys/sys/sched.h index 151adc9af37..7766f4da093 100644 --- a/sys/sys/sched.h +++ b/sys/sys/sched.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sched.h,v 1.20 2009/03/23 13:25:11 art Exp $ */ +/* $OpenBSD: sched.h,v 1.21 2009/04/03 09:29:15 art Exp $ */ /* $NetBSD: sched.h,v 1.2 1999/02/28 18:14:58 ross Exp $ */ /*- @@ -144,6 +144,7 @@ void sched_choosecpu(struct proc *); void cpu_idle_enter(void); void cpu_idle_cycle(void); void cpu_idle_leave(void); +void sched_peg_curproc(struct cpu_info *ci); #define curcpu_is_idle() (curcpu()->ci_schedstate.spc_whichqs == 0) |