The patch titled Subject: ipc/msg: make ss_wakeup() kill arg boolean has been added to the -mm tree. Its filename is ipc-msg-make-ss_wakeup-kill-arg-boolean.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/ipc-msg-make-ss_wakeup-kill-arg-boolean.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/ipc-msg-make-ss_wakeup-kill-arg-boolean.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Davidlohr Bueso <dave@xxxxxxxxxxxx> Subject: ipc/msg: make ss_wakeup() kill arg boolean ... 'tis annoying. Link: http://lkml.kernel.org/r/1469748819-19484-4-git-send-email-dave@xxxxxxxxxxxx Signed-off-by: Davidlohr Bueso <dave@xxxxxxxxxxxx> Acked-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx> Cc: Manfred Spraul <manfred@xxxxxxxxxxxxxxxx> Cc: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- ipc/msg.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff -puN ipc/msg.c~ipc-msg-make-ss_wakeup-kill-arg-boolean ipc/msg.c --- a/ipc/msg.c~ipc-msg-make-ss_wakeup-kill-arg-boolean +++ a/ipc/msg.c @@ -167,7 +167,7 @@ static inline void ss_del(struct msg_sen } static void ss_wakeup(struct list_head *h, - struct wake_q_head *wake_q, int kill) + struct wake_q_head *wake_q, bool kill) { struct msg_sender *mss, *t; @@ -204,7 +204,7 @@ static void freeque(struct ipc_namespace WAKE_Q(wake_q); expunge_all(msq, -EIDRM, &wake_q); - ss_wakeup(&msq->q_senders, &wake_q, 1); + ss_wakeup(&msq->q_senders, &wake_q, true); msg_rmid(ns, msq); ipc_unlock_object(&msq->q_perm); wake_up_q(&wake_q); @@ -388,7 +388,7 @@ static int msgctl_down(struct ipc_namesp * Sleeping senders might be able to send * due to a larger queue size. */ - ss_wakeup(&msq->q_senders, &wake_q, 0); + ss_wakeup(&msq->q_senders, &wake_q, false); ipc_unlock_object(&msq->q_perm); wake_up_q(&wake_q); @@ -882,7 +882,7 @@ long do_msgrcv(int msqid, void __user *b msq->q_cbytes -= msg->m_ts; atomic_sub(msg->m_ts, &ns->msg_bytes); atomic_dec(&ns->msg_hdrs); - ss_wakeup(&msq->q_senders, &wake_q, 0); + ss_wakeup(&msq->q_senders, &wake_q, false); goto out_unlock0; } _ Patches currently in -mm which might be from dave@xxxxxxxxxxxx are ipc-msg-batch-queue-sender-wakeups.patch ipc-msg-make-ss_wakeup-kill-arg-boolean.patch ipc-msg-lockless-security-checks-for-msgsnd.patch ipc-msg-avoid-waking-sender-upon-full-queue.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html