diff options
author | jeff <jeff@FreeBSD.org> | 2007-06-05 02:53:51 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2007-06-05 02:53:51 +0000 |
commit | c5295bd51be8a401c90f70b0904796b55bc61f84 (patch) | |
tree | da915509c8e5dc58a11281c04667c1fbf125478b /sys | |
parent | f2eba6cb680ebf615dc5e9dee92b5b0be356b492 (diff) | |
download | FreeBSD-src-c5295bd51be8a401c90f70b0904796b55bc61f84.zip FreeBSD-src-c5295bd51be8a401c90f70b0904796b55bc61f84.tar.gz |
- Define TDQ_ID() for the !SMP case.
- Default pick_pri to off. It is not faster in most cases.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/sched_ule.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c index 30761fb..83d6833 100644 --- a/sys/kern/sched_ule.c +++ b/sys/kern/sched_ule.c @@ -219,7 +219,7 @@ struct tdq_group { * Run-time tunables. */ static int rebalance = 0; -static int pick_pri = 1; +static int pick_pri = 0; static int affinity; static int tryself = 1; static int tryselfidle = 1; @@ -250,6 +250,7 @@ static int balance_groups; #else /* !SMP */ static struct tdq tdq_cpu; +#define TDQ_ID(x) (0) #define TDQ_SELF() (&tdq_cpu) #define TDQ_CPU(x) (&tdq_cpu) #endif |