Help answer threads with 0 replies.
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 03-03-2014, 11:57 AM   #1
LQ Newbie
Registered: Sep 2012
Posts: 10

Rep: Reputation: Disabled
what will happen to tasklet execution if interrupt occurs in between

The things I know about tasklet:

1. Tasklet runs with all interrupt enabled.
2. The tasklet runs in interrupt context.
3. It can't be sleep.
4. It runs in atomic way.
5. It has the assurance to be scheduled never late than next tick.

My questions:

1. Since in bottom half all interrupts are enabled, what happened If a tasklet is running and in between any interrupt comes. (If interrupts are
disabled during tasklet execution then what is the benefit of tasklet)?

2. Why is the surety that tasklet will always be scheduled upto next tick?

3. Is it correct to say that tasklets are softirq with priority level 0(Hi priority tasklet) and priority level 6(Normal taslet)?
Old 03-03-2014, 01:19 PM   #2
Registered: Sep 2004
Location: India
Distribution: Kubuntu, Archlinux, Suse, Gentoo, Mandrake
Posts: 370

Rep: Reputation: 30
What is a tasklet? Is it related to any window manager in particular?
Old 03-03-2014, 01:26 PM   #3
LQ Newbie
Registered: Sep 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
tasklet is bottom half mechanism to defer the work later in linux.
Old 03-03-2014, 09:23 PM   #4
Registered: Sep 2009
Location: Perth, W.A.
Distribution: Slackware 14, Debian Sid, FreeBSD 10, OpenBSD
Posts: 194

Rep: Reputation: 38
Originally Posted by anupamsr View Post
What is a tasklet? Is it related to any window manager in particular?
It's to do with interrupt handling in the kernel. There's plenty of detail on google, here's a brief one: tasklets.


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
how to access dev structure from within a tasklet ? ramonfried Linux - Kernel 1 08-22-2011 03:33 PM
Passing data from interrupt handler function to tasklet function in kernel programmin double-out Programming 2 05-18-2010 11:10 PM
Kernel-mode process,when interrupt occurs? Felicia23 Linux - Kernel 2 01-30-2009 09:16 PM
process status when interrupt occurs? Felicia23 Linux - Kernel 1 01-28-2009 05:09 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:21 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