diff options
author | Manfred Spraul <manfred@colorfullife.com> | 2013-07-09 01:01:23 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-09 19:33:28 +0200 |
commit | 1a82e9e1d0f1b45f47a97c9e2349020536ff8987 (patch) | |
tree | 956810c32e02f6ae1527db015c6ae622800bd720 /drivers/pinctrl | |
parent | ipc/sem.c: cacheline align the semaphore structures (diff) | |
download | linux-1a82e9e1d0f1b45f47a97c9e2349020536ff8987.tar.xz linux-1a82e9e1d0f1b45f47a97c9e2349020536ff8987.zip |
ipc/sem: separate wait-for-zero and alter tasks into seperate queues
Introduce separate queues for operations that do not modify the
semaphore values. Advantages:
- Simpler logic in check_restart().
- Faster update_queue(): Right now, all wait-for-zero operations are
always tested, even if the semaphore value is not 0.
- wait-for-zero gets again priority, as in linux <=3.0.9
Signed-off-by: Manfred Spraul <manfred@colorfullife.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Davidlohr Bueso <davidlohr.bueso@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/pinctrl')
0 files changed, 0 insertions, 0 deletions