Re: Serial port blues

From: Theodore Tso
Date: Sun Jan 21 2007 - 14:01:11 EST


On Sun, Jan 21, 2007 at 08:05:57AM +0100, Willy Tarreau wrote:
> Hmmm the busy loop is dirty as hell, even on SMP, but it works ;-)
> I remember is was possible to reprogram the RTC to interrupt at 8192 Hz.
> If the task is running with real time prio, it should get this accuracy,
> or am I mistaken ?

You can do in a kernel module. The problem with a userspace program
is that without the -rt patches, you can't guarantee that userspace
process will get a chance to run in time.

- Ted
-
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/