Re: [RFC] Observations on x86 process.c

From: cutaway
Date: Mon Jun 13 2005 - 13:53:56 EST


I'm well aware of them Ian. What I'm talking about is a somewhat different
broader notion that can be applied to things other than conditionals.

ex.

switch(whatever)
{
case blah:
__attribute__((slowcode)) {
/*
An infrequently used, but plump block of code.
*/
}

case blahblah:
...etc...
}


----- Original Message -----
From: "Ian Campbell" <ijc@xxxxxxxxxxxxxx>
To: <cutaway@xxxxxxxxxxxxx>
>
> I think you should probably checkout the likely() and unlikely() macros
> which are already defined for use in the kernel.
> Ian.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/