aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/structleak_plugin.c
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2020-09-03 22:23:29 +0000
committerPaul E. McKenney <[email protected]>2020-11-07 00:59:11 +0000
commit3fcd6a230fa7d03bffcb831a81b40435c146c12b (patch)
treebc576b40954c9deb95bf32151cb4535fe889297f /scripts/gcc-plugins/structleak_plugin.c
parentx86/cpu: Avoid cpuinfo-induced IPI pileups (diff)
downloadkernel-3fcd6a230fa7d03bffcb831a81b40435c146c12b.tar.gz
kernel-3fcd6a230fa7d03bffcb831a81b40435c146c12b.zip
x86/cpu: Avoid cpuinfo-induced IPIing of idle CPUs
Currently, accessing /proc/cpuinfo sends IPIs to idle CPUs in order to learn their clock frequency. Which is a bit strange, given that waking them from idle likely significantly changes their clock frequency. This commit therefore avoids sending /proc/cpuinfo-induced IPIs to idle CPUs. [ paulmck: Also check for idle in arch_freq_prepare_all(). ] Signed-off-by: Paul E. McKenney <[email protected]> Cc: Rafael J. Wysocki <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions