hi nidhi,

(from LKD 2nd edition)

One of the benefits of tasklets is that they are serialized with respect to
themselves: The same tasklet will not run concurrently, even on two
different processors. This means you do not have to worry about intratasklet
[8] <ch07endnotes.html#ch07fn08> concurrency issues. Intertasklet
concurrency (that is, when two different tasklets share the same data)
requires proper locking.


thanks,

mitul modi




On Wed, Sep 17, 2008 at 4:54 PM, nidhi mittal <[EMAIL PROTECTED]>wrote:

> it was written that
> "This is because execution of deferrable functions is always serialized on
> a CPU that is, a deferrable function cannot be interrupted by another
> deferrable function. Therefore, no synchronization primitive is ever
> required.
> that is
> deferrable functions are always serialized on uniprocessor not interrupted
> by another deferrable function "
>
> my ques is
> i accept while executing softirq or tasklet process cant sleep ..so can not
> be preempted in that sense.
> and it wont be interrupted by another deferrable function its okay
> but if time slice finishes then one deferrable function's execution if
> preeemted ....
> then another deferrable function will execute and access the comon data
> structure isnt it ???
>
> m i wrong smwhere in my interpretation pl clarify ...
>
> --
> Thanks & Regards
> Nidhi
>

Reply via email to