From: Manfred Spraul Date: Mon, 8 Jul 2013 23:01:23 +0000 (-0700) Subject: ipc/sem: separate wait-for-zero and alter tasks into seperate queues X-Git-Tag: v3.11-rc1~67^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a82e9e1d0f1b45f47a97c9e2349020536ff8987;p=pandora-kernel.git 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 Cc: Rik van Riel Cc: Davidlohr Bueso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed