Re: [PATCH [RT] 11/14] optimize the !printk fastpath through the lock acquisition

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Gregory Haskins <ghaskins@...>
Cc: <mingo@...>, <a.p.zijlstra@...>, <tglx@...>, <rostedt@...>, <linux-rt-users@...>, <linux-kernel@...>, <bill.huey@...>, <kevin@...>, <cminyard@...>, <dsingleton@...>, <dwalker@...>, <npiggin@...>, <dsaxena@...>, <gregkh@...>, <sdietrich@...>, <pmorreale@...>, <mkohari@...>
Date: Thursday, February 21, 2008 - 12:36 pm

On Thursday 21 February 2008 16:27:22 Gregory Haskins wrote:


I have my doubts that gcc will honor unlikelies that don't affect
the complete condition of an if.

Also conditions guarding returns are by default predicted unlikely
anyways AFAIK. 

The patch is likely a nop.

-Andi
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH [RT] 00/14] RFC - adaptive real-time locks, Gregory Haskins, (Thu Feb 21, 11:26 am)
Re: [PATCH [RT] 00/14] RFC - adaptive real-time locks, Ingo Molnar, (Thu Feb 21, 5:24 pm)
Re: [PATCH [RT] 00/14] RFC - adaptive real-time locks, Andrew Morton, (Sat Feb 23, 4:03 am)
Re: [PATCH [RT] 00/14] RFC - adaptive real-time locks, Peter W. Morreale, (Thu Feb 21, 6:12 pm)
Re: [PATCH [RT] 00/14] RFC - adaptive real-time locks, Peter W. Morreale, (Thu Feb 21, 6:42 pm)
Re: [PATCH [RT] 00/14] RFC - adaptive real-time locks, Gregory Haskins, (Thu Feb 21, 5:40 pm)
Re: [PATCH [RT] 00/14] RFC - adaptive real-time locks, Bill Huey (hui), (Thu Feb 21, 5:33 pm)
Re: [PATCH [RT] 00/14] RFC - adaptive real-time locks, Gregory Haskins, (Thu Feb 21, 12:05 pm)
[PATCH [RT] 12/14] remove the extra call to try_to_take_lock, Gregory Haskins, (Thu Feb 21, 11:27 am)
Re: [PATCH [RT] 11/14] optimize the !printk fastpath through..., Andi Kleen, (Thu Feb 21, 12:36 pm)
[PATCH [RT] 10/14] adjust pi_lock usage in wakeup, Gregory Haskins, (Thu Feb 21, 11:27 am)
Re: [PATCH [RT] 10/14] adjust pi_lock usage in wakeup, Steven Rostedt, (Thu Feb 21, 12:48 pm)
Re: [PATCH [RT] 10/14] adjust pi_lock usage in wakeup, Peter W. Morreale, (Thu Feb 21, 1:09 pm)
[PATCH [RT] 09/14] adaptive mutexes, Gregory Haskins, (Thu Feb 21, 11:27 am)
[PATCH [RT] 08/14] add a loop counter based timeout mechanism, Gregory Haskins, (Thu Feb 21, 11:27 am)
Re: [PATCH [RT] 08/14] add a loop counter based timeout mech..., Peter W. Morreale, (Fri Feb 22, 4:15 pm)
Re: [PATCH [RT] 08/14] add a loop counter based timeout mech..., Sven-Thorsten Dietrich, (Fri Feb 22, 3:55 pm)
Re: [PATCH [RT] 08/14] add a loop counter based timeout mech..., Peter W. Morreale, (Fri Feb 22, 4:36 pm)
Re: [PATCH [RT] 08/14] add a loop counter based timeout mech..., Sven-Thorsten Dietrich, (Sat Feb 23, 3:36 am)
Re: [PATCH [RT] 08/14] add a loop counter based timeout mech..., Paul E. McKenney, (Sat Feb 23, 12:32 pm)
Re: [PATCH [RT] 08/14] add a loop counter based timeout mech..., Sven-Thorsten Dietrich, (Thu Feb 21, 1:06 pm)
Re: [PATCH [RT] 08/14] add a loop counter based timeout mech..., Peter W. Morreale, (Thu Feb 21, 1:04 pm)
[PATCH [RT] 07/14] adaptive real-time lock support, Gregory Haskins, (Thu Feb 21, 11:27 am)
Re: [PATCH [RT] 07/14] adaptive real-time lock support, Pavel Machek, (Fri Feb 22, 3:14 pm)
[PATCH [RT] 06/14] optimize rt lock wakeup, Gregory Haskins, (Thu Feb 21, 11:26 am)
[PATCH [RT] 05/14] rearrange rt_spin_lock sleep, Gregory Haskins, (Thu Feb 21, 11:26 am)
Re: [PATCH [RT] 05/14] rearrange rt_spin_lock sleep, Gregory Haskins, (Fri Feb 22, 9:29 am)
Re: [PATCH [RT] 05/14] rearrange rt_spin_lock sleep, Ingo Molnar, (Fri Feb 22, 9:35 am)
Re: [PATCH [RT] 05/14] rearrange rt_spin_lock sleep, Steven Rostedt, (Fri Feb 22, 9:46 am)
Re: [PATCH [RT] 05/14] rearrange rt_spin_lock sleep, Steven Rostedt, (Fri Feb 22, 9:43 am)
Re: [PATCH [RT] 05/14] rearrange rt_spin_lock sleep, Steven Rostedt, (Fri Feb 22, 9:35 am)
Re: [PATCH [RT] 05/14] rearrange rt_spin_lock sleep, Peter Zijlstra, (Fri Feb 22, 9:40 am)
[PATCH [RT] 03/14] x86: FIFO ticket spinlocks, Gregory Haskins, (Thu Feb 21, 11:26 am)