diff options
| author | Pierre Peiffer <[email protected]> | 2007-05-09 02:35:00 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-05-09 12:30:55 -0700 |
| commit | ec92d08292d3e9b0823eba138a4564d2d39f25c7 (patch) | |
| tree | 4dc94792e83d51b036d52e92e8d4f137a2efce97 /include/linux | |
| parent | f34c506b0385b43abd25c490335036ecbb173aed (diff) | |
futex priority based wakeup
Today, all threads waiting for a given futex are woken in FIFO order (first
waiter woken first) instead of priority order.
This patch makes use of plist (pirotity ordered lists) instead of simple list
in futex_hash_bucket.
All non-RT threads are stored with priority MAX_RT_PRIO, causing them to be
woken last, in FIFO order (RT-threads are woken first, in priority order).
Signed-off-by: Sebastien Dugue <[email protected]>
Signed-off-by: Pierre Peiffer <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Ulrich Drepper <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions