aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorDarren Hart <[email protected]>2009-10-15 15:30:48 -0700
committerIngo Molnar <[email protected]>2009-10-16 10:19:18 +0200
commit89061d3d58e1f0742139605dc6a7950aa1ecc019 (patch)
tree4bf78b9d0834975b6e615ced614c74c67d57d52d /lib/string_helpers.c
parent237c80c5c8fb7ec128cf2a756b550dc41ad7eac7 (diff)
futex: Move drop_futex_key_refs out of spinlock'ed region
When requeuing tasks from one futex to another, the reference held by the requeued task to the original futex location needs to be dropped eventually. Dropping the reference may ultimately lead to a call to "iput_final" and subsequently call into filesystem- specific code - which may be non-atomic. It is therefore safer to defer this drop operation until after the futex_hash_bucket spinlock has been dropped. Originally-From: Helge Bahmann <[email protected]> Signed-off-by: Darren Hart <[email protected]> Cc: <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Dinakar Guniguntala <[email protected]> Cc: John Stultz <[email protected]> Cc: Sven-Thorsten Dietrich <[email protected]> Cc: John Kacur <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions