Fix: numa: dynamically check that numa is available
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 5 Dec 2017 16:55:07 +0000 (11:55 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 19 Dec 2017 17:34:49 +0000 (12:34 -0500)
commit8a208943e21700211beee3ea64180a5a534c7d2a
treeefe99d500857130b3d0ced2e8b8aec32b65abda0
parent00ee1adfe1e34d43494227781f6662b0a21b7c4b
Fix: numa: dynamically check that numa is available

Kernels with CONFIG_NUMA=n cause libnuma to print those messages:

"set_mempolicy: Function not implemented".

Check for numa availability before using it.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
libringbuffer/shm.c
This page took 0.024881 seconds and 4 git commands to generate.