Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754011AbYJGPEU (ORCPT ); Tue, 7 Oct 2008 11:04:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752764AbYJGPEL (ORCPT ); Tue, 7 Oct 2008 11:04:11 -0400 Received: from dsl081-246-077.sfo1.dsl.speakeasy.net ([64.81.246.77]:49831 "EHLO piratehaven.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751633AbYJGPEK (ORCPT ); Tue, 7 Oct 2008 11:04:10 -0400 X-Greylist: delayed 538 seconds by postgrey-1.27 at vger.kernel.org; Tue, 07 Oct 2008 11:04:10 EDT Date: Tue, 7 Oct 2008 07:55:10 -0700 From: Brian Pomerantz To: George Nychis Cc: Thomas Gleixner , "Randy.Dunlap" , linux-kernel@vger.kernel.org Subject: Re: [patch] Re: how to link to hrtimers in the kernel Message-ID: <20081007145510.GA31057@skull.piratehaven.org> References: <48EA31A4.6080903@cmu.edu> <48EA47DF.2090207@cmu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48EA47DF.2090207@cmu.edu> User-Agent: Mutt/1.4.2.2i X-homepage: http://www.piratehaven.org/~bapper/ Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 708 Lines: 20 On Mon, Oct 06, 2008 at 01:16:15PM -0400, George Nychis wrote: > > I am trying to sleep at the microsecond level, which ssleep and msleep > cannot provide. I couldn't find any other nanosleep method in the kernel. > > I found information by searching the net on using jiffies to accomplish > sleep periods, but that is not high enough in resolution. > > I'd greatly appreciate any feedback. > Is there any reason you can't use udelay()/ndelay()? BAPper -- 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/