]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cfgparse: support the comma separator on parse_cpu_set
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 6 Apr 2021 14:46:15 +0000 (16:46 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 23 Apr 2021 14:06:49 +0000 (16:06 +0200)
commita80823543c15ac51dcfa6c442b77172f544ce60c
tree803079ec42be86b7d7fceecb6afbf5733a82e573
parent4c9efdecf5aa3d4cca1a325ac1d98cfba01bcf83
MINOR: cfgparse: support the comma separator on parse_cpu_set

Allow to specify multiple cpu ids/ranges in parse_cpu_set separated by a
comma. This is optional and must be activated by a parameter.

The comma support is disabled for the parsing of the 'cpu-map' config
statement. However, it will be useful to parse files in sysfs when
inspecting the cpus topology for NUMA automatic process binding.
include/haproxy/cfgparse.h
src/cfgparse-global.c
src/cfgparse.c