Messages in this thread | | | Date | Mon, 27 May 2013 13:57:05 -0400 | From | Rik van Riel <> | Subject | Re: [PATCH 2/4] ipc/sem: seperate wait-for-zero and alter tasks into seperate queues |
| |
On 05/26/2013 05:08 AM, Manfred Spraul wrote: > Introduce seperate 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
Whether this complexity is wanted is not for me to decide, as I am not the ipc/sem.c maintainer. I'll leave that up to Andrew and Linus.
The code looks correct, though.
Acked-by: Rik van Riel <riel@redhat.com>
| |