diff options
author | Davidlohr Bueso <dave@stgolabs.net> | 2016-12-14 15:06:31 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-14 16:04:08 -0800 |
commit | 248e7357cf8ec50bdaca68dce7c488ce843b6b93 (patch) | |
tree | 54ea60ba6f92ee99014c0b565ab87150eb930067 /block/bounce.c | |
parent | 7a5c8b57cec93196b3e84e3cad2ff81ae0faed78 (diff) | |
download | linux-248e7357cf8ec50bdaca68dce7c488ce843b6b93.tar.bz2 |
ipc/sem: do not call wake_sem_queue_do() prematurely ... as this call should obviously be paired with its _prepare()
counterpart. At least whenever possible, as there is no harm in calling
it bogusly as we do now in a few places. Immediate error semop(2) paths
that are far from ever having the task block can be simplified and avoid
a few unnecessary loads on their way out of the call as it is not deeply
nested.
Link: http://lkml.kernel.org/r/1474225896-10066-2-git-send-email-dave@stgolabs.net
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Cc: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'block/bounce.c')
0 files changed, 0 insertions, 0 deletions