Documentation on top half and bottom halves
Hi all,
Can any one tell me good Documentation on bottom halves beyond doubt.
Regards,
Krishna Chaitanya
Quoted 1 line · krishna
Can any one tell me good Documentation on bottom halves beyond doubt.
Documentation on Tasklets:
- http://www.xml.com/ldd/chapter/book/ch09.html#t5
- kernel/softirq.c
Documentation on Workqueues:
- http://lwn.net/Articles/23634/
- kernel/workqueue.c
Clemens
Thank you very much
Quoted 1 line · krishna
Can any one tell me good Documentation on bottom halves beyond doubt.
Documentation on Tasklets:
- http://www.xml.com/ldd/chapter/book/ch09.html#t5
- kernel/softirq.c
Documentation on Workqueues:
- http://lwn.net/Articles/23634/
- kernel/workqueue.c
Clemens
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Hi,
How to understand when to use which mechanism depending upon the hardware:
1) If DMA support is not there and If it is there.
2) If Shared Interrupts are there and not there.
3) If there are multiple same Host controllers and single Host Controller.
Regards,
Krishna Chaitanya
Thank you very much
Quoted 1 line · krishna
Can any one tell me good Documentation on bottom halves beyond doubt.
Documentation on Tasklets:
- http://www.xml.com/ldd/chapter/book/ch09.html#t5
- kernel/softirq.c
Documentation on Workqueues:
- http://lwn.net/Articles/23634/
- kernel/workqueue.c
Clemens
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Quoted 5 lines · you
How to understand when to use which mechanism depending upon the hardware:
1) If DMA support is not there and If it is there.
2) If Shared Interrupts are there and not there.
3) If there are multiple same Host controllers and single Host Controller.
It's independent of these questions. The decision between tasklet and workqueue is mostly:
- If you need non-atomic operations (e.g. allocate memory with GFP_KERNEL), you have to use work queues.
- If you need very low latencies for processing the interrupts, you should use tasklets.
- When in doubt, use work queues.
Arnd <><
PS: pleas read http://www.netmeister.org/news/learn2quote.html