summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorSuren Baghdasaryan <surenb@google.com>2024-11-22 20:44:14 +0300
committerPeter Zijlstra <peterz@infradead.org>2024-12-02 14:01:37 +0300
commit96450ead16527cbef559b5bd046182e731228f95 (patch)
tree516ee8a88ccd3d66cfb81b6a13e5d40e6e7baeec /tools/perf/scripts/python/exported-sql-viewer.py
parentb4943b8bfc41ddd3796f3b87e1efa71a0c689f22 (diff)
downloadlinux-96450ead16527cbef559b5bd046182e731228f95.tar.xz
seqlock: add raw_seqcount_try_begin
Add raw_seqcount_try_begin() to opens a read critical section of the given seqcount_t if the counter is even. This enables eliding the critical section entirely if the counter is odd, instead of doing the speculation knowing it will fail. Suggested-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Suren Baghdasaryan <surenb@google.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: David Hildenbrand <david@redhat.com> Reviewed-by: Liam R. Howlett <Liam.Howlett@Oracle.com> Link: https://lkml.kernel.org/r/20241122174416.1367052-1-surenb@google.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions