diff options
| author | Peter Zijlstra <[email protected]> | 2020-10-30 11:15:06 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2020-11-09 17:12:35 +0000 |
| commit | e506d1dac0edb2df82f2aa0582e814f9cd9aa07d (patch) | |
| tree | 73b80f8166e06db89e768ca9e99729e8ec1d1139 /net/switchdev/switchdev.c | |
| parent | perf/arch: Remove perf_sample_data::regs_user_copy (diff) | |
| download | kernel-e506d1dac0edb2df82f2aa0582e814f9cd9aa07d.tar.gz kernel-e506d1dac0edb2df82f2aa0582e814f9cd9aa07d.zip | |
perf/x86: Make dummy_iregs static
Having pt_regs on-stack is unfortunate, it's 168 bytes. Since it isn't
actually used, make it a static variable. This both gets if off the
stack and ensures it gets 0 initialized, just in case someone does
look at it.
Reported-by: Steven Rostedt <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
