Re: Help with a driver im writing.
- From: "Peter Z" <peter.linux@xxxxxxxxx>
- Date: 6 Jan 2006 21:11:49 -0800
Tasklets don't interfere each other on single CPU with non-preemeptable
kernel. You may put the real read opreation into other tasklet and in
IRQ just to schedule it. If interrupt happens during a write
operation, read will be defered. But if your hardware dosen't support
this, for example, hardware clears data after receive a acknowledgement
from CPU, you may have to check write state before perform a read
operation. And If write operation is uninterruptable, you may have to
put it into a critical section with interrupt off anyway.
--Peter Z
.
- Follow-Ups:
- Re: Help with a driver im writing.
- From: Ace
- Re: Help with a driver im writing.
- References:
- Help with a driver im writing.
- From: Aceman
- Help with a driver im writing.
- Prev by Date: Re: What is "executive"?
- Next by Date: Re: Help with a driver im writing.
- Previous by thread: Help with a driver im writing.
- Next by thread: Re: Help with a driver im writing.
- Index(es):
Relevant Pages
|