Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-05-2006, 09:24 AM   #1
LQ Newbie
Registered: Apr 2005
Posts: 10

Rep: Reputation: 0
Handling of Interrupts in thread context

Hi All,
I have a doubt regarding handling of interrupts in thread context.

Say, an interrupt has occurred in a kernel thread context and the interrupt handler got executed.

Will the control of execution return back to the kernel thread soon after the execution of the interrupt handler?
The interrupt handler gets executed, and if any soft irqs are pending, they are executed followed by returning the control back to the thread.

Linux Kernel Version:2.4.20-8

Surya Santosh

Last edited by asurya; 04-05-2006 at 09:27 AM.
Old 04-05-2006, 10:15 AM   #2
Registered: Aug 2005
Location: Sofia
Distribution: SuSE, ELinOS
Posts: 100

Rep: Reputation: 16
The pending interrupts have to have a higher IRQ level than that of the kernel thread to get executed before the executions is returned to the kernel thread. But honestly, I doubt they can...
If there are interrupts with higher IRQ level that this example kernel thread they anyway get executed before it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel thread and signal handling oriate Linux - General 3 10-18-2005 01:41 PM
Kernel Thread Execution Context and PID ratwings Linux - Newbie 0 02-11-2005 05:06 AM
Main thread sending notification to child thread rajesh_b Programming 1 09-22-2004 10:15 AM
configure qt thread issue (just compiled qt w/ -thread option) cleff Linux - Software 8 05-08-2004 12:11 AM
about interrupts eshwar_ind Programming 1 02-25-2004 01:38 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration