Re: [PATCH 7/6] ipc/sem.c: add a printk_once for semctl(GETNCNT/GETZCNT)

2014-05-26 Thread Davidlohr Bueso
On Sun, 2014-05-25 at 20:21 +0200, Manfred Spraul wrote: > The actual Linux implementation for semctl(GETNCNT) and semctl(GETZCNT) > always (since 0.99.10) reported a thread as sleeping on all semaphores > that are listed in the semop() call. > The documented behavior (both in the Linux man page an

[PATCH 7/6] ipc/sem.c: add a printk_once for semctl(GETNCNT/GETZCNT)

2014-05-25 Thread Manfred Spraul
The actual Linux implementation for semctl(GETNCNT) and semctl(GETZCNT) always (since 0.99.10) reported a thread as sleeping on all semaphores that are listed in the semop() call. The documented behavior (both in the Linux man page and in the Single Unix Specification) is that a task should be repo

Re: [PATCH 7/6] ipc/sem.c: add a printk_once for semctl(GETNCNT/GETZCNT)

2014-05-25 Thread Manfred Spraul
Hi Joe, On 05/25/2014 08:39 PM, Joe Perches wrote: On Sun, 2014-05-25 at 20:21 +0200, Manfred Spraul wrote: +*/ + printk_once(KERN_INFO "semctl(GETNCNT/GETZCNT) is since 3.16 Single " \ + "Unix Specification compliant.\n" \ +

Re: [PATCH 7/6] ipc/sem.c: add a printk_once for semctl(GETNCNT/GETZCNT)

2014-05-25 Thread Joe Perches
On Sun, 2014-05-25 at 20:21 +0200, Manfred Spraul wrote: > The actual Linux implementation for semctl(GETNCNT) and semctl(GETZCNT) > always (since 0.99.10) reported a thread as sleeping on all semaphores > that are listed in the semop() call. > The documented behavior (both in the Linux man page an

[PATCH 7/6] ipc/sem.c: add a printk_once for semctl(GETNCNT/GETZCNT)

2014-05-25 Thread Manfred Spraul
The actual Linux implementation for semctl(GETNCNT) and semctl(GETZCNT) always (since 0.99.10) reported a thread as sleeping on all semaphores that are listed in the semop() call. The documented behavior (both in the Linux man page and in the Single Unix Specification) is that a task should be repo