Rev 6934 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6934 | Rev 7143 | ||
---|---|---|---|
Line 23... | Line 23... | ||
23 | * The value of ACTIVE_BIAS supports up to 65535 active processes. |
23 | * The value of ACTIVE_BIAS supports up to 65535 active processes. |
24 | * |
24 | * |
25 | * This should be totally fair - if anything is waiting, a process that wants a |
25 | * This should be totally fair - if anything is waiting, a process that wants a |
26 | * lock will go to the back of the queue. When the currently active lock is |
26 | * lock will go to the back of the queue. When the currently active lock is |
27 | * released, if there's a writer at the front of the queue, then that and only |
27 | * released, if there's a writer at the front of the queue, then that and only |
28 | * that will be woken up; if there's a bunch of consequtive readers at the |
28 | * that will be woken up; if there's a bunch of consecutive readers at the |
29 | * front, then they'll all be woken up, but no other readers will be. |
29 | * front, then they'll all be woken up, but no other readers will be. |
30 | */ |
30 | */ |
Line 31... | Line 31... | ||
31 | 31 | ||
32 | #ifndef _ASM_X86_RWSEM_H |
32 | #ifndef _ASM_X86_RWSEM_H |