aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2020-02-28 10:49:10 +0100
committerPaolo Bonzini <[email protected]>2020-02-28 10:54:50 +0100
commitaaec7c03de92c35a96966631989950e6e27662db (patch)
treeea7bca180557b531b94b6a1a3d81aaca81bd8c89 /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
parent4f337faf1c55e55bdc49df13fcb3a3c45655899e (diff)
KVM: x86: avoid useless copy of cpufreq policy
struct cpufreq_policy is quite big and it is not a good idea to allocate one on the stack. Just use cpufreq_cpu_get and cpufreq_cpu_put which is even simpler. Reported-by: Christoph Hellwig <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions