summaryrefslogtreecommitdiff
path: root/str.h
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-09-19 00:05:33 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-09-19 00:05:33 +0200
commitb009daf649bdc38080def483bbcf0165b9c2074e (patch)
tree30c637a3b87d764dc3416346bf03bac571950818 /str.h
parent0450fd1d25b81e12908dfdac1819a571f10a8ee7 (diff)
doc: authors: moved Tobias one up
Nothing changes in that regard, Tobias and myself are both maintaining and continue to do so on one and the same level. Tobias does an awesome job, so this should be credited to him right here! Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'str.h')
0 files changed, 0 insertions, 0 deletions
ion/devicetree/bindings/net/marvell-neta-bm.txt?id=5ab666e09541e64ce2fd73411c3b5b9e4ad334b1&id2=4c2e07c6a29e0129e975727b9f57eede813eea85'>diff)
intel_pstate: Do not clear utilization update hooks on policy changes
intel_pstate_set_policy() is invoked by the cpufreq core during driver initialization, on changes of policy attributes (minimim and maximum frequency, for example) via sysfs and via CPU notifications from the platform firmware. On some platforms the latter may occur relatively often. Commit bb6ab52f2bef (intel_pstate: Do not set utilization update hook too early) made intel_pstate_set_policy() clear the CPU's utilization update hook before updating the policy attributes for it (and set the hook again after doind that), but that involves invoking synchronize_sched() and adds overhead to the CPU notifications mentioned above and to the sched-RCU handling in general. That extra overhead is arguably not necessary, because updating policy attributes when the CPU's utilization update hook is active should not lead to any adverse effects, so drop the clearing of the hook from intel_pstate_set_policy() and make it check if the hook has been set already when attempting to set it. Fixes: bb6ab52f2bef (intel_pstate: Do not set utilization update hook too early) Reported-by: Jisheng Zhang <jszhang@marvell.com> Tested-by: Jisheng Zhang <jszhang@marvell.com> Tested-by: Doug Smythies <dsmythies@telus.net> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation/devicetree/bindings/net/marvell-neta-bm.txt')