summaryrefslogtreecommitdiffstats
path: root/sys/sys/runq.h
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2008-03-20 02:14:02 +0000
committerjeff <jeff@FreeBSD.org>2008-03-20 02:14:02 +0000
commitded0975003e9c70f68f01695183f4981f4614b2d (patch)
treea801baab5feb89c390e346906b0453c111b855d2 /sys/sys/runq.h
parenta2c51b3fe4114116f23fa14674eb524cb2c6858c (diff)
downloadFreeBSD-src-ded0975003e9c70f68f01695183f4981f4614b2d.zip
FreeBSD-src-ded0975003e9c70f68f01695183f4981f4614b2d.tar.gz
- Move maybe_preempt() from kern_switch.c to sched_4bsd.c. This is function
is only used by 4bsd. - Create a new runq_choose_fuzz() function rather than polluting runq_choose() with 4BSD specific code. - Move the fuzz sysctl into sched_4bsd.c - Remove some dead code from kern_switch.c
Diffstat (limited to 'sys/sys/runq.h')
-rw-r--r--sys/sys/runq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/runq.h b/sys/sys/runq.h
index 4b14e2d..4d46bb7 100644
--- a/sys/sys/runq.h
+++ b/sys/sys/runq.h
@@ -67,6 +67,7 @@ void runq_add_pri(struct runq *, struct td_sched *, u_char, int);
int runq_check(struct runq *);
struct td_sched *runq_choose(struct runq *);
struct td_sched *runq_choose_from(struct runq *, u_char);
+struct td_sched *runq_choose_fuzz(struct runq *, int);
void runq_init(struct runq *);
void runq_remove(struct runq *, struct td_sched *);
void runq_remove_idx(struct runq *, struct td_sched *, u_char *);
OpenPOWER on IntegriCloud