Re: [PATCH 0/6] ipc/sem.c: Fix semctl(,,{GETNCNT,GETZCNT})

2014-05-18 Thread Davidlohr Bueso
Hi Manfred, On Sun, 2014-05-18 at 09:58 +0200, Manfred Spraul wrote: > Hi Andrew, > > I've applied the changes recommended by Michael and Davidlohr - and I don't > have any open points on my list, either. Please keep the review/ack tags that are collected upon different versions of the patchset

[PATCH 0/6] ipc/sem.c: Fix semctl(,,{GETNCNT,GETZCNT})

2014-05-18 Thread Manfred Spraul
Hi Andrew, I've applied the changes recommended by Michael and Davidlohr - and I don't have any open points on my list, either. Therefore: Could you add the series to -mm and move it towards mainline? Background: SUSv4 and the man page of semop() clearly define how semncnt or semzcnt must be u

Re: [PATCH 0/6] ipc/sem.c: Fix semctl(,,{GETNCNT,GETZCNT})

2014-05-12 Thread Manfred Spraul
Hi Michael, On 05/12/2014 10:02 AM, Michael Kerrisk (man-pages) wrote: Hi Manfred, On Sat, May 10, 2014 at 12:03 PM, Manfred Spraul wrote: Hi all, According to the man page of semop(), semzcnt or semncnt are increased exactly for the operation that couldn't proceed. Perhaps it's woth noting

Re: [PATCH 0/6] ipc/sem.c: Fix semctl(,,{GETNCNT,GETZCNT})

2014-05-12 Thread Michael Kerrisk (man-pages)
Hi Manfred, On Sat, May 10, 2014 at 12:03 PM, Manfred Spraul wrote: > Hi all, > > According to the man page of semop(), semzcnt or semncnt are increased > exactly for the operation that couldn't proceed. Perhaps it's woth noting here that the man page is also pretty close to the POSIX text that

Re: [PATCH 0/6] ipc/sem.c: Fix semctl(,,{GETNCNT,GETZCNT})

2014-05-11 Thread Davidlohr Bueso
On Sat, 2014-05-10 at 12:03 +0200, Manfred Spraul wrote: > Hi all, > > According to the man page of semop(), semzcnt or semncnt are increased > exactly for the operation that couldn't proceed. > > The Linux implementation always tried to be clever and to increase the > counters > for all operati

[PATCH 0/6] ipc/sem.c: Fix semctl(,,{GETNCNT,GETZCNT})

2014-05-10 Thread Manfred Spraul
Hi all, According to the man page of semop(), semzcnt or semncnt are increased exactly for the operation that couldn't proceed. The Linux implementation always tried to be clever and to increase the counters for all operations that might be the reason why a task sleeps. The following patches fix