Re: [PATCH 2/2] Update sem_otime for all operations

2013-09-26 Thread Jia He
Tested-by: Jia He # cat /proc/sysvipc/sem key semid perms nsems uid gid cuid cgid otime ctime -1 32768 666 1 0 0 0 0 1380185570 1380185570 On Thu, 26 Sep 2013 07:08:55 +0200 from manf...@colorfullife.com wrote: > Hi Jia,

[PATCH 2/2] Update sem_otime for all operations

2013-09-25 Thread Manfred Spraul
Hi Jia, Could you check if the patch below resolves the bug you have reported? Just this patch, i.e. without your proposal. I want to leave the optimization for the get_seconds() call: We must update sem_otime in two places anyway (either perform_atomic_semop() and exit_sem() or do_smart_update()