diff options
| author | Denis Kirjanov <[email protected]> | 2015-12-14 20:18:06 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2016-02-15 10:10:03 +0000 |
| commit | 126df08c52375817c237f38c3bcd01d78a60c090 (patch) | |
| tree | d963e39a429eda7aa9de95e0084e6333432527a7 /net/unix/af_unix.c | |
| parent | powerpc: Fix dedotify for binutils >= 2.26 (diff) | |
| download | kernel-126df08c52375817c237f38c3bcd01d78a60c090.tar.gz kernel-126df08c52375817c237f38c3bcd01d78a60c090.zip | |
powerpc/pseries: Don't trace hcalls on offline CPUs
If a cpu is hotplugged while the hcall trace points are active, it's
possible to hit a warning from RCU due to the trace points calling into
RCU from an offline cpu, eg:
RCU used illegally from offline CPU!
rcu_scheduler_active = 1, debug_locks = 1
Make the hypervisor tracepoints conditional by using
TRACE_EVENT_FN_COND.
Acked-by: Steven Rostedt <[email protected]>
Signed-off-by: Denis Kirjanov <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
