On Wed, 2004-10-13 at 13:14 -0700, jnf wrote: > I've been reading through a little bit on how the scheduler works, and I > was wondering how exactly when it goes back to a process that was > pre-empted/put to sleep/interrupted in general, does it know where to > continue execution? i.e. if the program completed X instructions before it > was interrupted- how does it know to start at X+1 ? It saves the instruction pointer and processor state. Robert Love -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/