Re: [PATCH] fix loop with disabled tasklets

Momchil Velikov
2001-11-12T08:37:10Z

>>>>> "Mathijs" == Mathijs Mohlmann <mathijs@knoware.nl> writes:

Mathijs> On 11 Nov 2001, Momchil Velikov wrote:
>> You may want to have a look at the following patches (tested by
>> visual inspection):

Mathijs> I like this one. I think it is what Andrea was going for,
Mathijs> without the changes to interrupt.h. If we are going for

In this patch, the first thing is to deschedule the tasklet. So, the
changes to interrupt.h are needed in order to put back the tasklet in
the queue.

Mathijs> thisone we should add some comments to interrupt.h warning
Mathijs> about deadlocks etc.

What deadlocks ? ;)

Mathijs> still working on a patch that adds a cpu field to the
Mathijs> tasklet_struct. Looking for races takes me a long time :).

I think we can ignore the cpu whenever a tasklet is scheduled and
disabled, treating it as not scheduled at all.

Regards,
-velco