Re: [PATCH] IPMI: use schedule in kthread

From: Arjan van de Ven
Date: Mon Jun 26 2006 - 15:57:39 EST


On Mon, 2006-06-26 at 14:49 -0500, Matt Domsch wrote:
> We need to be able to poll at faster-than-timer-tick rates, yet let
> other higher-priority apps run. Hence the schedule(). We're open to
> other suggestions, but this seemed minimally intrusive while
> accomplishing the goal. No more soft lockups or jittery mice.

at least put a whole bunch of cpu_relax() in that loop, or your cpu
will.. get hot. Would also be nice if cpufreq had a "run this one slow"
option....

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/