commit | 1568357e5cf18d4668de13daeb69aaea985b6250 | [log] [tgz] |
---|---|---|
author | Arnaldo Carvalho de Melo <acme@redhat.com> | Thu Aug 04 10:17:43 2011 -0300 |
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | Thu Aug 04 10:17:43 2011 -0300 |
tree | 6d2bd8ff4ddfab209b3d8e086d41bdb8858853bf | |
parent | 28a2f17c069244f69ecdc6db2f5c280a9fe0c0da [diff] |
Fix cpusetsize parameter in sched_setaffinity call When converting to CPU_ALLOC this was missed, so sizeof(pointer) was being passed. "Works" up to 64cpus, fix it passing the value returned by CPU_ALLOC_SIZE. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>