diff options
author | Peter Zijlstra <[email protected]> | 2021-09-09 12:59:18 +0200 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2021-09-15 17:49:15 +0200 |
commit | 616be87eac9fa2ab2dca1069712f7236e50f3bf6 (patch) | |
tree | 0f2ddfc328c5bdd742604e2c2fe14f3926d82dd7 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 7687201e37fabf2b7cf2b828f7ca46bf30e2948f (diff) |
locking/rwbase: Extract __rwbase_write_trylock()
The code in rwbase_write_lock() is a little non-obvious vs the
read+set 'trylock', extract the sequence into a helper function to
clarify the code.
This also provides a single site to fix fast-path ordering.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Thomas Gleixner <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions