relay_switch_subbuf() does schedule_delayed_work(&buf->wake_readers, 1), wakeup_readers() only does wake_up_interruptible() and nothing more. Why can't we use a plain timer for this? In any case, this "wake_up ->read_wait after a minimal possible delay" looks somewhat strange to me, could you explain? just curious. 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: kernel/relay.c: a strange usage of delayed_work
- From: Tom Zanussi <[email protected]>
- Re: kernel/relay.c: a strange usage of delayed_work
- References:
- 2.6.21-rc7-mm1: BUG_ON in kthread_bind during _cpu_down
- From: "Rafael J. Wysocki" <[email protected]>
- Re: 2.6.21-rc7-mm1: BUG_ON in kthread_bind during _cpu_down
- From: Andrew Morton <[email protected]>
- Re: 2.6.21-rc7-mm1: BUG_ON in kthread_bind during _cpu_down
- From: Gautham R Shenoy <[email protected]>
- Re: 2.6.21-rc7-mm1: BUG_ON in kthread_bind during _cpu_down
- From: Oleg Nesterov <[email protected]>
- Re: 2.6.21-rc7-mm1: BUG_ON in kthread_bind during _cpu_down
- From: Gautham R Shenoy <[email protected]>
- Re: 2.6.21-rc7-mm1: BUG_ON in kthread_bind during _cpu_down
- From: Andrew Morton <[email protected]>
- 2.6.21-rc7-mm1: BUG_ON in kthread_bind during _cpu_down
- Prev by Date: [PATCH 8/8] One Laptop Per Child power/battery driver
- Next by Date: Re: Routing 600+ vlan's via linux problems (looks like arp problems)
- Previous by thread: Re: libata-core.c: unsafe cancel_delayed_work() usage?
- Next by thread: Re: kernel/relay.c: a strange usage of delayed_work
- Index(es):