On Fri, 2003-01-17 at 06:35, Omanakuttan wrote: > What should I make out of this? I understand the ISR is executed in some > process context. But current->pid ==0 confuses me. is 0 pid of some > kernel thread (swapper?) or does it mean that ISR is executed in kernel > context? current->pid in an interrupt handler is equal to the pid of the task that was executing when the handler was invoked, as you note. current->pid==0 implies the idle task (swapper) was running. Robert Love -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/