aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorManfred Spraul <[email protected]>2013-09-30 13:45:25 -0700
committerLinus Torvalds <[email protected]>2013-09-30 14:31:03 -0700
commit0e8c665699e953fa58dc1b0b0d09e5dce7343cc7 (patch)
tree43f6f73159d7be2fbd7930315a053e27c4c8d189 /scripts/gdb/linux
parentfb31ba30fb10fe0ee11739f51669d581b4a1412c (diff)
ipc/sem.c: update sem_otime for all operations
In commit 0a2b9d4c7967 ("ipc/sem.c: move wake_up_process out of the spinlock section"), the update of semaphore's sem_otime(last semop time) was moved to one central position (do_smart_update). But since do_smart_update() is only called for operations that modify the array, this means that wait-for-zero semops do not update sem_otime anymore. The fix is simple: Non-alter operations must update sem_otime. [[email protected]: coding-style fixes] Signed-off-by: Manfred Spraul <[email protected]> Reported-by: Jia He <[email protected]> Tested-by: Jia He <[email protected]> Cc: Davidlohr Bueso <[email protected]> Cc: Mike Galbraith <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions