]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common/numa: cpu_set helpers and numa helpers
authorSage Weil <sage@redhat.com>
Thu, 3 Jan 2019 17:59:36 +0000 (11:59 -0600)
committerSage Weil <sage@redhat.com>
Fri, 4 Jan 2019 19:08:03 +0000 (13:08 -0600)
commitc86f374081331b1074f3a6b0ff1b3abd8146f981
tree9972764f6444c1043f710a622e3bf028a090f6c8
parent99044baa0e4a249aa387e5c0116e4e2c9e949b26
common/numa: cpu_set helpers and numa helpers

Note: the mask variants assume num_cpus is a factor of 4.  Not sure
what local_cpus looks like when that is not the case... we'll use the
local_cpulist style instead.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/CMakeLists.txt
src/common/numa.cc [new file with mode: 0644]
src/common/numa.h [new file with mode: 0644]
src/test/common/CMakeLists.txt
src/test/common/test_numa.cc [new file with mode: 0644]