diff options
author | Len Brown <len.brown@intel.com> | 2012-06-03 23:24:00 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-06-03 23:24:00 -0400 |
commit | d15cf7c129fa4ec4b44c52521e49ffafb9749029 (patch) | |
tree | 03c323fe9623f7e82400bdfabdd3711a45596a53 /include | |
parent | f8f5701bdaf9134b1f90e5044a82c66324d2073f (diff) | |
download | linux-d15cf7c129fa4ec4b44c52521e49ffafb9749029.tar.bz2 |
tools/power turbostat: fix un-intended affinity of forked program
Linux 3.4 included a modification to turbostat to
lower cross-call overhead by using scheduler affinity:
15aaa34654831e98dd76f7738b6c7f5d05a66430
(tools turbostat: reduce measurement overhead due to IPIs)
In the use-case where turbostat forks a child program,
that change had the un-intended side-effect of binding
the child to the last cpu in the system.
This change removed the binding before forking the child.
This is a back-port of a fix already included in turbostat v2.
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions