Messages in this thread | | | From | Christian Borntraeger <> | Subject | Re: [PATCH] sched: Optimize branch hint in context_switch() | Date | Mon, 30 Nov 2009 10:25:36 +0100 |
| |
Am Sonntag 29 November 2009 16:25:43 schrieb Avi Kivity: > These should be documented then to avoid patches removing them: > > #define slowpath(x) unlikely(x) > > if (slowpath(condition)) > expensive_operation();
Neat. If we also modify the likelyhood tracer to __not__ check the slowpath annotation by default this really looks like a good idea.
Christian
| |