Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153785632
D23144.id66729.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
466 B
Referenced Files
None
Subscribers
None
D23144.id66729.diff
View Options
Index: head/sys/compat/linux/linux_misc.c
===================================================================
--- head/sys/compat/linux/linux_misc.c
+++ head/sys/compat/linux/linux_misc.c
@@ -2354,7 +2354,7 @@
cpu = td->td_oncpu; /* Make sure it doesn't change during copyout(9) */
error = 0;
- node = 0; /* XXX: Fake NUMA node 0 for now */
+ node = cpuid_to_pcpu[cpu]->pc_domain;
if (args->cpu != NULL)
error = copyout(&cpu, args->cpu, sizeof(l_int));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 24, 5:41 PM (12 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32085017
Default Alt Text
D23144.id66729.diff (466 B)
Attached To
Mode
D23144: Make linux getcpu(2) report domain
Attached
Detach File
Event Timeline
Log In to Comment