Page MenuHomeFreeBSD

D23144.id66729.diff
No OneTemporary

D23144.id66729.diff

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

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)

Event Timeline