commit | e07eab5c2991052a17d4e1a8ada6fd52973764f7 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <peterz@infradead.org> | Fri Oct 30 12:49:45 2020 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 18 18:26:27 2020 +0100 |
tree | e09387962e73b8467812a5e4d63470d276300a5f | |
parent | f44b8662a581d1e09b0af47fba1eac33c1a655ab [diff] |
perf: Fix get_recursion_context() [ Upstream commit ce0f17fc93f63ee91428af10b7b2ddef38cd19e5 ] One should use in_serving_softirq() to detect SoftIRQ context. Fixes: 96f6d4444302 ("perf_counter: avoid recursion") Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20201030151955.120572175@infradead.org Signed-off-by: Sasha Levin <sashal@kernel.org>