[merged] semaphore-give-an-unlikely-for-downs-timeout.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: semaphore: use unlikely() for down's timeout
has been removed from the -mm tree.  Its filename was
     semaphore-give-an-unlikely-for-downs-timeout.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: liguang <lig.fnst@xxxxxxxxxxxxxx>
Subject: semaphore: use unlikely() for down's timeout

Signed-off-by: liguang <lig.fnst@xxxxxxxxxxxxxx>
Cc: Jiri Kosina <jkosina@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 kernel/semaphore.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN kernel/semaphore.c~semaphore-give-an-unlikely-for-downs-timeout kernel/semaphore.c
--- a/kernel/semaphore.c~semaphore-give-an-unlikely-for-downs-timeout
+++ a/kernel/semaphore.c
@@ -214,7 +214,7 @@ static inline int __sched __down_common(
 	for (;;) {
 		if (signal_pending_state(state, task))
 			goto interrupted;
-		if (timeout <= 0)
+		if (unlikely(timeout <= 0))
 			goto timed_out;
 		__set_task_state(task, state);
 		raw_spin_unlock_irq(&sem->lock);
_

Patches currently in -mm which might be from lig.fnst@xxxxxxxxxxxxxx are

origin.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




[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux