The patch titled Subject: ipc/mqueue.c: fix wrong use of schedule_hrtimeout_range_clock() has been added to the -mm tree. Its filename is ipc-mqueuec-fix-wrong-use-of-schedule_hrtimeout_range_clock.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 *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ From: Wanlong Gao <gaowanlong@xxxxxxxxxxxxxx> Subject: ipc/mqueue.c: fix wrong use of schedule_hrtimeout_range_clock() Fix the wrong use of schedule_hrtimeout_range_clock() in wq_sleep(), although it is harmless for the syscall mq_timed* now. It was introduced by 9ca7d8e ("mqueue: Convert message queue timeout to use hrtimers"). Signed-off-by: Wanlong Gao <gaowanlong@xxxxxxxxxxxxxx> Cc: Carsten Emde <C.Emde@xxxxxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: Manfred Spraul <manfred@xxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- ipc/mqueue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN ipc/mqueue.c~ipc-mqueuec-fix-wrong-use-of-schedule_hrtimeout_range_clock ipc/mqueue.c --- a/ipc/mqueue.c~ipc-mqueuec-fix-wrong-use-of-schedule_hrtimeout_range_clock +++ a/ipc/mqueue.c @@ -449,8 +449,8 @@ static int wq_sleep(struct mqueue_inode_ set_current_state(TASK_INTERRUPTIBLE); spin_unlock(&info->lock); - time = schedule_hrtimeout_range_clock(timeout, - HRTIMER_MODE_ABS, 0, CLOCK_REALTIME); + time = schedule_hrtimeout_range_clock(timeout, 0, + HRTIMER_MODE_ABS, CLOCK_REALTIME); while (ewp->state == STATE_PENDING) cpu_relax(); _ Subject: Subject: ipc/mqueue.c: fix wrong use of schedule_hrtimeout_range_clock() Patches currently in -mm which might be from gaowanlong@xxxxxxxxxxxxxx are origin.patch linux-next.patch ipc-mqueuec-fix-wrong-use-of-schedule_hrtimeout_range_clock.patch ksm-fix-the-comment-of-try_to_unmap_one.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