From 64cab37f279b923f444589fcb374fd018cb6789f Mon Sep 17 00:00:00 2001 From: nectar Date: Fri, 13 May 2005 00:57:04 +0000 Subject: [PATCH] Default hyperthreading on in -CURRENT. No seatbelts in CURRENT (^_^) Requested by: peter, jhb --- sys/amd64/amd64/mp_machdep.c | 2 +- sys/i386/i386/mp_machdep.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c index aca9065881e8..d78e36bbb2a2 100644 --- a/sys/amd64/amd64/mp_machdep.c +++ b/sys/amd64/amd64/mp_machdep.c @@ -144,7 +144,7 @@ static void release_aps(void *dummy); static int hlt_logical_cpus; static u_int hyperthreading_cpus; static cpumask_t hyperthreading_cpus_mask; -static int hyperthreading_allowed; +static int hyperthreading_allowed = 1; static struct sysctl_ctx_list logical_cpu_clist; static u_int bootMP_size; diff --git a/sys/i386/i386/mp_machdep.c b/sys/i386/i386/mp_machdep.c index e60164ddbad4..01e384b8ca9f 100644 --- a/sys/i386/i386/mp_machdep.c +++ b/sys/i386/i386/mp_machdep.c @@ -216,7 +216,7 @@ static void release_aps(void *dummy); static int hlt_logical_cpus; static u_int hyperthreading_cpus; static cpumask_t hyperthreading_cpus_mask; -static int hyperthreading_allowed; +static int hyperthreading_allowed = 1; static struct sysctl_ctx_list logical_cpu_clist; static void