On 06/29, Alexey Kuznetsov wrote: > > > Just look at the tasklet_disable() logic. > > Do not count this. A slightly off-topic question, tasklet_kill(t) doesn't try to steal t from tasklet_head.list if t was scheduled, but waits until t completes. If I understand correctly, this is because tasklet_head.list is protected by local_irq_save(), and t could be scheduled on another CPU, so we just can't steal it, yes? If we use worqueues, we can change the semantics of tasklet_kill() so that it really cancels an already scheduled tasklet. The question is: would it be the wrong/good change? Oleg. - 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/
- Follow-Ups:
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Alexey Kuznetsov <[email protected]>
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- References:
- [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Steven Rostedt <[email protected]>
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Linus Torvalds <[email protected]>
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Ingo Molnar <[email protected]>
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Linus Torvalds <[email protected]>
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Ingo Molnar <[email protected]>
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Jeff Garzik <[email protected]>
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Ingo Molnar <[email protected]>
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Alexey Kuznetsov <[email protected]>
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Ingo Molnar <[email protected]>
- Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- From: Alexey Kuznetsov <[email protected]>
- [RFC PATCH 0/6] Convert all tasklets to workqueues
- Prev by Date: Re: [PATCH 0/6][TAKE5] fallocate system call
- Next by Date: Assistance debugging a Micrel network driver
- Previous by thread: Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- Next by thread: Re: [RFC PATCH 0/6] Convert all tasklets to workqueues
- Index(es):