aboutsummaryrefslogtreecommitdiff
path: root/io_uring/advise.h
diff options
context:
space:
mode:
authorGravatar Kent Overstreet <kent.overstreet@linux.dev> 2023-05-20 20:37:53 -0400
committerGravatar Kent Overstreet <kent.overstreet@linux.dev> 2023-10-22 17:10:02 -0400
commitd2c86b77de5894bbe26ecbf5214227f61855aed7 (patch)
tree0a879c04b004fd61bf510344c27ddaa0c862e9c6 /io_uring/advise.h
parentsix locks: Remove hacks for percpu mode lost wakeup (diff)
downloadlinux-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/advise.h')
0 files changed, 0 insertions, 0 deletions