Files
linux/kernel
Darren Hart 1a52084d09 futex: split out atomic logic from futex_lock_pi()
Refactor the atomic portion of futex_lock_pi() into futex_lock_pi_atomic().

This logic will be needed by requeue_pi, so modularize it to reduce
code duplication.  The only significant change is passing of the task
to try and take the lock for.  This simplifies the -EDEADLK test as if
the lock is owned by task t, it's a deadlock, regardless of if we are
doing requeue pi or not.  This patch updates the corresponding comment
accordingly.

Signed-off-by: Darren Hart <dvhltc@us.ibm.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2009-04-06 11:14:01 +02:00
..
…
2009-04-02 19:04:55 -07:00
…
…
…
…
…
2009-01-14 18:09:02 +01:00
2009-03-13 11:25:53 +01:00
…
2009-03-30 22:05:16 +10:30
…
…
…
2009-02-26 21:56:07 +01:00
2009-01-06 11:07:15 +01:00
2009-04-03 16:42:35 +01:00
…
2009-04-03 16:42:35 +01:00
2009-03-24 10:52:46 +11:00
…