RE: kthread_create() vs tasklet | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
> > On Wed, May 7, 2008 at 12:55 PM, Peter Teoh <htmldeveloper@xxxxxxxxx> > wrote: >> Not sure why....but under the drivers directory, u can see a lot more >> tasklet than kthread_create(). >> Huh? I'm not sure if I understand this right ... But I thought they are completely different things (rather than two comparable items). kthread_create() is to create a kernel thread (A thread that'll always execute in kernel mode and will have no user context). Where as tasklet is a mechanism to implement bottom halves - hence they are generally "scheduled" to be executed in ISRs. They are run upon return from IRQ or by ksoftirq. Did I understand the question right? Rajat -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ
[Newbies FAQ] [Kernel List] [Site Home] [IETF Annouce] [Git] [Networking] [Security] [Bugtraq] [Rubini] [Photo] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Security] [Linux Networking] [Linux RAID] [Linux SCSI] [Linux ACPI] [DDR & Rambus] [UNIX Filesystems] [Linux Resources]
![]() |
![]() |