Re: Current Pointer and interrupt processing

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

 



On 2005-07-10 at 11:51:59 +0200, Deepak Joshi <deepak_cins@xxxxxxxxxxx> wrote:
> I read one statement in LDD in 6th chapter about
> interrupt.
> 
> "The current pointer is not valid in interrupt mode
> and can't be used". 

As described in LDD3, chapter 2, page 21, the current pointer always
points to the process currently running on the relevant CPU. When you're
running in interrupt context there is _no_ currently running process
thus there is no process context which means you cannot access the
current pointer.

Someone please correct me if I'm wrong.

Cheers, Tobias

--
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