what does "current->pid" prints in below 2 case
1) Hard IRQ context
2) Soft IRQ context
I know IRQ context and process context are different, and PID must be invalid in case of IRQ context. But when try to print "current->pid" in IRQ context it is printing some valid PID, hence got the doubt. Please clarify.
Thank You,
Gopinath.
It shows just a pid of a process that the IRQ preepmts.
You can imagine that:
current->pid
is 1001.There is NO RELATIONSHIP between current->pid
and the IRQ