ISR and process context...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



HI,
I am printing current->pid from one ISR. It prints some positive values and 0.
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?

Thanks
Om.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux