* NUMA API on ppc64 issues
@ 2005-05-15 3:00 Anton Blanchard
0 siblings, 0 replies; only message in thread
From: Anton Blanchard @ 2005-05-15 3:00 UTC (permalink / raw)
To: linux-mm; +Cc: ak
Hi,
I tried running the NUMA API on a ppc64 box (version numactl-0.7pre2, I
hope thats the latest). I noticed is that the cpu affinity code is not
endian safe. Watching a 64bit version of numademo:
19206 sched_setaffinity(19206, 64, { 300000000, 0, 0, 0, 0, 0, 0, 0 }) = -1 EINVAL (Invalid argument)
...
19206 sched_setaffinity(19206, 64, { f000000000000, 0, 0, 0, 0, 0, 0, 0 }) = -1 EINVAL (Invalid argument)
Whereas my cpumask is 000000000000f003 - its swapping the two 32bit
words. Looks like numa_node_to_cpus needs some work to be endian safe.
Anton
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-05-15 3:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-15 3:00 NUMA API on ppc64 issues Anton Blanchard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox