diff options
author | 2023-05-20 20:37:53 -0400 | |
---|---|---|
committer | 2023-10-22 17:10:02 -0400 | |
commit | d2c86b77de5894bbe26ecbf5214227f61855aed7 (patch) | |
tree | 0a879c04b004fd61bf510344c27ddaa0c862e9c6 /io_uring/opdef.h | |
parent | six locks: Remove hacks for percpu mode lost wakeup (diff) | |
download | linux-d2c86b77de5894bbe26ecbf5214227f61855aed7.tar.gz linux-d2c86b77de5894bbe26ecbf5214227f61855aed7.tar.bz2 linux-d2c86b77de5894bbe26ecbf5214227f61855aed7.zip |
six locks: Centralize setting of waiting bit
Originally, the waiting bit was always set by trylock() on failure:
however, it's now set by __six_lock_type_slowpath(), with wait_lock held
- which is the more correct place to do it.
That made setting the waiting bit in trylock redundant, so this patch
deletes that.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'io_uring/opdef.h')
0 files changed, 0 insertions, 0 deletions