On Thu, 18 Oct 2007, Oleg Nesterov wrote: > If we can't just cancel the work, can't we do something like > > if (cancel_work_sync(w)) > w->func(w); > > instead? We do an equivalent of this -- all that we care about that w->func(w) would do is enable_irq() and the rest we want to skip at this point. We probably do not need the counter in the end though. Maciej - 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/
- References:
- Re: [PATCH] PHYLIB: IRQ event workqueue handling fixes
- From: Jarek Poplawski <[email protected]>
- Re: [PATCH] PHYLIB: IRQ event workqueue handling fixes
- From: "Maciej W. Rozycki" <[email protected]>
- Re: [PATCH] PHYLIB: IRQ event workqueue handling fixes
- From: Jarek Poplawski <[email protected]>
- Re: [PATCH] PHYLIB: IRQ event workqueue handling fixes
- From: "Maciej W. Rozycki" <[email protected]>
- Re: [PATCH] PHYLIB: IRQ event workqueue handling fixes
- From: Jarek Poplawski <[email protected]>
- Re: [PATCH] PHYLIB: IRQ event workqueue handling fixes
- From: Jarek Poplawski <[email protected]>
- [PATCH] flush_work_sync vs. flush_scheduled_work Re: [PATCH] PHYLIB: IRQ event workqueue handling fixes
- From: Jarek Poplawski <[email protected]>
- Re: [PATCH] flush_work_sync vs. flush_scheduled_work Re: [PATCH] PHYLIB: IRQ event workqueue handling fixes
- From: Oleg Nesterov <[email protected]>
- Re: [PATCH] PHYLIB: IRQ event workqueue handling fixes
- Prev by Date: Re: 2.6.23-mm1 - list_add corruption in cgroup
- Next by Date: Re: [PATCH 0/21] KGDB: Request to merge KGDB
- Previous by thread: Re: [PATCH] flush_work_sync vs. flush_scheduled_work Re: [PATCH] PHYLIB: IRQ event workqueue handling fixes
- Next by thread: Re: [PATCH] flush_work_sync vs. flush_scheduled_work Re: [PATCH] PHYLIB: IRQ event workqueue handling fixes
- Index(es):