commit | b8ee931b452be9c88962bf3d955298e5332f3a87 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Jul 18 17:14:10 2023 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri Jul 21 15:35:41 2023 +0200 |
tree | f4031a98f5d6212f005fdb3bb8ed8ec9887f3b7d | |
parent | a3ba46a373f54f97a6a7e4d07be1c969df625e2f [diff] |
MINOR: cpuset: add cpu_map_configured() to know if a cpu-map was found Since we'll soon want to adjust the "thread-groups" degree of freedom based on the presence of cpu-map, we first need to be able to detect if cpu-map was used. This function scans all cpu-map sets to detect if any is present, and returns true accordingly. (cherry picked from commit 71344176135b6e140ebc7c107ffe40ff9c3f79ba) Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>