On Wed, 2003-04-30 at 05:49, Bryan K. wrote: > I was wandering why the variable need_resched is a per task one? Is it not a > good idea to be a volatile per-cpu variable? Strictly performance. Accessing current's task_struct is very very fast. It used to be a global variable around 2.0. Robert Love -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/