Re: kthread_create() vs tasklet

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

 



A resent, since it never got through:

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().
>
> ./usb/gadget/file_storage.c:
>  fsg->thread_task = kthread_create(fsg_main_thread, fsg,
>
> ./usb/atm/usbatm.c:
>  t = kthread_create(usbatm_do_heavy_init, instance,
>
> ./usb/storage/usb.c:
>  th = kthread_create(usb_stor_scan_thread, us, "usb-stor-scan");
>
> ./scsi/qla2xxx/qla_os.c:
>  ha->dpc_thread = kthread_create(qla2x00_do_dpc, ha,
>
> ./block/loop.c:
>  lo->lo_thread = kthread_create(loop_thread, lo, "loop%d",
>
> ./mtd/ubi/build.c:
>  ubi->bgt_thread = kthread_create(ubi_thread, ubi, ubi->bgt_name);
>
> ./infiniband/hw/ehca/ehca_irq.c:
>  cct->task = kthread_create(comp_task, cct, "ehca_comp/%d", cpu);
>
> ./char/apm-emulation.c:
>  kapmd_tsk = kthread_create(kapmd, NULL, "kapmd");
>
> And that's all......whereas tasklet_init() counted at least 269.
>
> Any particular reasons???
>
> --
> Regards,
> Peter Teoh
>



-- 
Regards,
Peter Teoh

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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