Re: [PATCH 1/5] forcedeth: mgmt unit interface

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Friday, January 30, 2009 - 3:35 pm

On Fri, 30 Jan 2009 13:56:26 -0500
Ayaz Abdulla <aabdulla@nvidia.com> wrote:


A five second busy-wait still sucks :(

Why not do

	start = jiffies;
	while (time_before(jiffies, start + 5*HZ)) {
		...
		schedule_timeout_uninterruptible(1);
	}

?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/5] forcedeth: mgmt unit interface, Ayaz Abdulla, (Fri Jan 30, 11:56 am)
Re: [PATCH 1/5] forcedeth: mgmt unit interface, Andrew Morton, (Fri Jan 30, 3:35 pm)