From: Len Brown Date: Mon, 4 Jun 2012 03:24:00 +0000 (-0400) Subject: tools/power turbostat: fix un-intended affinity of forked program X-Git-Tag: v3.5-rc2~19^2^4~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d15cf7c129fa4ec4b44c52521e49ffafb9749029;p=pandora-kernel.git 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 --- Reading git-diff-tree failed