Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751338AbXAUTAv (ORCPT ); Sun, 21 Jan 2007 14:00:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751363AbXAUTAv (ORCPT ); Sun, 21 Jan 2007 14:00:51 -0500 Received: from thunk.org ([69.25.196.29]:52243 "EHLO thunker.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751338AbXAUTAv (ORCPT ); Sun, 21 Jan 2007 14:00:51 -0500 Date: Sun, 21 Jan 2007 13:55:35 -0500 From: Theodore Tso To: Willy Tarreau Cc: Joe Barr , Linux Kernel mailing List Subject: Re: Serial port blues Message-ID: <20070121185534.GE27422@thunk.org> Mail-Followup-To: Theodore Tso , Willy Tarreau , Joe Barr , Linux Kernel mailing List References: <1169242654.20402.154.camel@warthawg-desktop> <20070120173644.GY24090@1wt.eu> <20070121055456.GC27422@thunk.org> <20070121070557.GB31780@1wt.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070121070557.GB31780@1wt.eu> User-Agent: Mutt/1.5.12-2006-07-14 X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on thunker.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 740 Lines: 16 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/