linux.conf.au Optimization I know *you* benchmark and read the asm during optimization, but it's quite clear that others are so scared of "bloat" criticism that they optimize without measuring the straightforward case *first*. Remember, to be cool: 1) Use bitops and memory barriers not spinlocks, 2) Use inlines everywhere, 3) Use likely()/unlikely() on every branch 4) Use prefetch() everywhere, 5) Use gotos to minimize the path length 6) __set_current_state() not set_current_state() 7) Pass in current as a function param Rusty. -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell.