On Thu, 07 Dec 2006 12:05:38 -0500 Jeff Garzik <jeff@garzik.org> wrote: > Yes, I merged the code, but looking deeper at phy its clear I missed > some things. > > Looking into libphy's workqueue stuff, it has the following sequence: > > disable interrupts > schedule_work() > > ... time passes ... > ... workqueue routine is called ... > > enable interrupts > handle interrupt > > I really have to question if a workqueue was the best choice of > direction for such a sequence. You don't want to put off handling an > interrupt, with interrupts disabled, for a potentially unbounded amount > of time. That'll lock the box on UP, or if the timer fires on the current CPU? > Maybe the best course of action is to mark it with CONFIG_BROKEN until > it gets fixed. hm, maybe. I wonder if as a short-term palliative we could remove the current_is_keventd() call and drop rtnl_lock. Or export current_is_keventd ;) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- [PATCH] group xtime, xtime_lock, wall_to_monotonic, avenrun, calc_load_count fields together in ktimed
- From: Eric Dumazet <dada1@cosmosbay.com>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: Andrew Morton <akpm@osdl.org>
- [PATCH] group xtime, xtime_lock, wall_to_monotonic, avenrun, calc_load_count fields together in ktimed
- References:
- Re: [PATCH] Export current_is_keventd() for libphy
- From: Andrew Morton <akpm@osdl.org>
- [PATCH] Export current_is_keventd() for libphy
- From: Ben Collins <ben.collins@ubuntu.com>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: Andrew Morton <akpm@osdl.org>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: "Maciej W. Rozycki" <macro@linux-mips.org>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: Andrew Morton <akpm@osdl.org>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: Andy Fleming <afleming@freescale.com>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: Andrew Morton <akpm@osdl.org>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: Roland Dreier <rdreier@cisco.com>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: Andrew Morton <akpm@osdl.org>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: "Maciej W. Rozycki" <macro@linux-mips.org>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: Andrew Morton <akpm@osdl.org>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: Linus Torvalds <torvalds@osdl.org>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: Linus Torvalds <torvalds@osdl.org>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: Andrew Morton <akpm@osdl.org>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: David Howells <dhowells@redhat.com>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: Andrew Morton <akpm@osdl.org>
- Re: [PATCH] Export current_is_keventd() for libphy
- From: Jeff Garzik <jeff@garzik.org>
- Re: [PATCH] Export current_is_keventd() for libphy
- Prev by Date: Re: [PATCH] Export current_is_keventd() for libphy
- Next by Date: [PATCH] Proper backlight selection for fbdev drivers
- Previous by thread: Re: [PATCH] Export current_is_keventd() for libphy
- Next by thread: Re: [PATCH] Export current_is_keventd() for libphy
- Index(es):
![]() |