Hi, Independant from the other patches: undo operations should not result in out of range semaphore values. The test for newval > SEMVMX is missing. The attached patch adds the test and a comment. Andrew - could you add it to -mm? Signed-Off-By: Manfred Spraul