[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Where is the unlikely subroutine defined?
The likely/unlikely macros are defined in include/linux/compiler.h
See kerneltrap.org/node/4705
[ ]s
Viliam
On Thu, Jul 3, 2008 at 12:08 AM, Bradley Hanna <brahan.ml@xxxxxxxxx> wrote:
> I have been working in the scheduler where I see a subroutine called
> 'unlikely'. I would like to know where 'unlikely' is defined source
> tree. Specifically what file.
>
> example of usage:
>
> if (unlikely(reacquire_kernel_lock(current) < 0))
> goto need_resched_nonpreemptible;
>
>
> thanks for you patients,
>
> brahan
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ