aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2021-09-09 10:59:18 +0000
committerPeter Zijlstra <[email protected]>2021-09-15 15:49:15 +0000
commit616be87eac9fa2ab2dca1069712f7236e50f3bf6 (patch)
tree0f2ddfc328c5bdd742604e2c2fe14f3926d82dd7 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
parentlocking/rwbase: Properly match set_and_save_state() to restore_state() (diff)
downloadkernel-616be87eac9fa2ab2dca1069712f7236e50f3bf6.tar.gz
kernel-616be87eac9fa2ab2dca1069712f7236e50f3bf6.zip
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 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions