diff options
| author | Rik van Riel <[email protected]> | 2014-09-12 09:12:14 -0400 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2014-09-19 12:35:16 +0200 |
| commit | ef8ac06359ddf95431cf6bb04ad2b36fff562328 (patch) | |
| tree | a7987f9ce983b4e12e26c92c140ef88a4cd7c838 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 2ed903c5485bad0eafdd3d59ff993598736e4f31 (diff) | |
seqlock: Add irqsave variant of read_seqbegin_or_lock()
There are cases where read_seqbegin_or_lock() needs to block irqs,
because the seqlock in question nests inside a lock that is also
be taken from irq context.
Add read_seqbegin_or_lock_irqsave() and done_seqretry_irqrestore(), which
are almost identical to read_seqbegin_or_lock() and done_seqretry().
Signed-off-by: Rik van Riel <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: Al Viro <[email protected]>
Cc: John Stultz <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Stephen Boyd <[email protected]>
Cc: Trond Myklebust <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ Improved the readability of the code a bit. ]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions