[lkml]   [2001]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Looking for comments on Bottom-Half/Tasklet/SoftIRQ wrote:
> Thanks
> So, Bottom halves don't need to be re-entrant as do tasklets. SoftIRQ's
> need to be re-entrant. The advantage of tasklets is that each tasklet can
> be farmed out to different CPU's AND they don't need to be re-entrant
> because only one instance is allowed at a time. I think I got it.

That is 100% correct.

> Could you direct me to some code in the kernel which uses tasklets
> so I can see the inner workings?

Actually very few systems in the kernel has been rewritten to use
tasklets instead og BH's.

But as they are very simillar to BH's, you should be able to use the
same thinking, its just a new API.

Take a look at include/linux/interrupt.h
(or, an invaluable
source when coding for linux).

Anders Fugmann

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:57    [W:0.240 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site