On 03/05/2013 03:53 PM, Rik van Riel wrote:
Indeed. Though how well my patches will work with Oracle will
depend a lot on what kind of semctl syscalls they are doing.
Does Oracle typically do one semop per semctl syscall, or does
it pass in a whole bunch at once?
i had collected a strace log of Oracle instance startup a while ago. In
the log, almost all of the semctl() call is to set a single semaphore
value in one of the element of the array using SETVAL. Also there are
far more semtimedop() than semctl(), about 100:1. Again, all the
semtimedop() operations are on a single element of the semaphore array.