From owner-freebsd-drivers@FreeBSD.ORG Sun Oct 19 19:28:35 2008 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 570481065685 for ; Sun, 19 Oct 2008 19:28:35 +0000 (UTC) (envelope-from sandiegobiker@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.228]) by mx1.freebsd.org (Postfix) with ESMTP id 2B8F78FC0C for ; Sun, 19 Oct 2008 19:28:35 +0000 (UTC) (envelope-from sandiegobiker@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1286717rvf.43 for ; Sun, 19 Oct 2008 12:28:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=4ymF/aoulGZugja0u2BWEUXbQl/Ovr1rFC7u/OMjsTI=; b=GyTBZIZBjAolAnp6rDfXZLPb/0iKAvI7n29kiJu16M/6wpEiSqcFbd6boQ7mYGxawS coN1/MYpqCpEJ9LPPuYNyKxZDkXMzBoCr3BlZnTSXhcpjYhDxvZV7bcF8ZpskpcS8Zer KN+kdUj/vgqcBGSVGfZGUzoKlKqpMiHX+G6mA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=D1nEIMCKKeYK2m8ii/jyJYbkTdmRUrR8AujHONlsqoELQd34sLn4n6zYmEyRDIB71x S5wrZTEizshJ2M22gJolbYFCZMxW/ZrM97Md0ZsB7dG2gCwjy+t9GTSKRZ9N/nMU8mvY 78ivSkBNUv7SKQzNyqfITDav5+QzcGlsNGj94= Received: by 10.141.161.6 with SMTP id n6mr4236300rvo.201.1224444514806; Sun, 19 Oct 2008 12:28:34 -0700 (PDT) Received: by 10.141.37.19 with HTTP; Sun, 19 Oct 2008 12:28:34 -0700 (PDT) Message-ID: <27cb3ada0810191228y2cf4ba5end071263f6d2f93df@mail.gmail.com> Date: Sun, 19 Oct 2008 12:28:34 -0700 From: "Len Gross" To: "freebsd-drivers@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Polling and Sleep in a Driver X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2008 19:28:35 -0000 Warner, Thanks so much for your response. This is really a case where I'm a bit over my head! I thought on a a "busy" machine, there was a fundamental "no uppper bound" on the wait on a sleep; independent of the Hz? Not real-time blah, blah, ...... I am trying to understand if a driver "sleep" gets special attention (i.e higher "priority") so that I see less slop in the timing. Of course, I could hack up a driver and try some tests, but wanted some advice before diving into that pool. Thanks again. -- Len