commit | 4c9efdecf5aa3d4cca1a325ac1d98cfba01bcf83 | [log] [tgz] |
---|---|---|
author | Amaury Denoyelle <adenoyelle@haproxy.com> | Wed Mar 31 16:57:39 2021 +0200 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Fri Apr 23 16:06:49 2021 +0200 |
tree | a8658729c4a613fb749527300cf6e9ef04e7ef2d | |
parent | 982fb53390ae58de4de44ad0632b3393339bace4 [diff] |
MINOR: thread: implement the detection of forced cpu affinity Create a function thread_cpu_mask_forced. Its purpose is to report if a restrictive cpu mask is active for the current proces, for example due to a taskset invocation. It is only implemented for the linux platform currently.