Re: sharing data (can ISR be pre-empted???)

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

 



mandeep sandhu wrote:
hi all,
i've heard that the linux kernel is preemptive from 2.5 onwards....
so can an ISR be preempted by the kernel. as i understand an ISR doest not
have a process context, so then what can preempt it????

Yes you're right. An ISR has no process context. But an ISR can be interrupted by some code lika for example another ISR. Interrupts can be nested in Linux (even in 2.4).
And in 2.5 and 2.6, ISR can be preempted by a thread or anything else which has a higher priority.



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