]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: cfgparse: modify preprocessor guards around numa detection code
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 15 Dec 2021 08:48:39 +0000 (09:48 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 15 Dec 2021 10:05:51 +0000 (11:05 +0100)
commitb09f4477f4c599faeb026b76218f1ad4e35be21b
tree6e6eb56ad449ba40cd7e4e73e264f77f941d609c
parent740629e2966641871b183d1c728fa7aeda45a1cc
CLEANUP: cfgparse: modify preprocessor guards around numa detection code

numa_detect_topology() is always define now if USE_CPU_AFFINITY is
activated. For the moment, only on Linux an actual implementation is
provided. For other platforms, it always return 0.

This change has been made to easily add implementation of NUMA detection
for other platforms. The phrasing of the documentation has also been
edited to removed the mention of Linux-only on numa-cpu-mapping
configuration option.
doc/configuration.txt
src/cfgparse.c