Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161374323
D22233.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
830 B
Referenced Files
None
Subscribers
None
D22233.id.diff
View Options
Index: head/sys/x86/x86/mp_x86.c
===================================================================
--- head/sys/x86/x86/mp_x86.c
+++ head/sys/x86/x86/mp_x86.c
@@ -144,6 +144,11 @@
SYSCTL_INT(_machdep, OID_AUTO, hyperthreading_allowed, CTLFLAG_RDTUN,
&hyperthreading_allowed, 0, "Use Intel HTT logical CPUs");
+static int hyperthreading_intr_allowed = 0;
+SYSCTL_INT(_machdep, OID_AUTO, hyperthreading_intr_allowed, CTLFLAG_RDTUN,
+ &hyperthreading_intr_allowed, 0,
+ "Allow interrupts on HTT logical CPUs");
+
static struct topo_node topo_root;
static int pkg_id_shift;
@@ -1121,7 +1126,8 @@
continue;
/* Don't let hyperthreads service interrupts. */
- if (cpu_info[apic_id].cpu_hyperthread)
+ if (cpu_info[apic_id].cpu_hyperthread &&
+ !hyperthreading_intr_allowed)
continue;
intr_add_cpu(i);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jul 4, 6:06 AM (7 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34606282
Default Alt Text
D22233.id.diff (830 B)
Attached To
Mode
D22233: Add tunable to allow interrupts on hyperthreaded cores
Attached
Detach File
Event Timeline
Log In to Comment