diff options
author | Borislav Petkov <[email protected]> | 2017-11-01 17:47:54 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2017-11-01 21:24:36 +0100 |
commit | 7298f08ea8870d44d36c7d6cd07dd0303faef6c2 (patch) | |
tree | c0be993507d8fd7276a853a2eac524809f87afeb /tools/perf/util/c++/clang.cpp | |
parent | 287683d027a3ff83feb6c7044430c79881664ecf (diff) |
x86/mcelog: Get rid of RCU remnants
Jeremy reported a suspicious RCU usage warning in mcelog.
/dev/mcelog is called in process context now as part of the notifier
chain and doesn't need any of the fancy RCU and lockless accesses which
it did in atomic context.
Axe it all in favor of a simple mutex synchronization which cures the
problem reported.
Fixes: 5de97c9f6d85 ("x86/mce: Factor out and deprecate the /dev/mcelog driver")
Reported-by: Jeremy Cline <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-and-tested-by: Tony Luck <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: [email protected]
Cc: Laura Abbott <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://bugzilla.redhat.com/show_bug.cgi?id=1498969
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions