[PATCH 5/6] ipc/sem.c: Replace shared sem_otime with per-semaphore value

2013-06-10 Thread Manfred Spraul
sem_otime contains the time of the last semaphore operation that completed successfully. Every operation updates this value, thus access from multiple cpus can cause trashing. Therefore the patch replaces the variable with a per-semaphore variable. The per-array sem_otime is only calculated when

[PATCH 5/6] ipc/sem.c: Replace shared sem_otime with per-semaphore value

2013-06-10 Thread Manfred Spraul
sem_otime contains the time of the last semaphore operation that completed successfully. Every operation updates this value, thus access from multiple cpus can cause trashing. Therefore the patch replaces the variable with a per-semaphore variable. The per-array sem_otime is only calculated when