From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262695AbVFWVxU (ORCPT ); Thu, 23 Jun 2005 17:53:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262732AbVFWVuk (ORCPT ); Thu, 23 Jun 2005 17:50:40 -0400 Received: from clock-tower.bc.nu ([81.2.110.250]:16563 "EHLO lxorguk.ukuu.org.uk") by vger.kernel.org with ESMTP id S262717AbVFWVpW (ORCPT ); Thu, 23 Jun 2005 17:45:22 -0400 Subject: Re: Possible spin-problem in nanosleep() From: Alan Cox To: linux-os@analogic.com Cc: Andreas Schwab , Linux Kernel Mailing List In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1119546715.17066.20.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Thu, 23 Jun 2005 22:42:31 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org For most platforms the scheduler measured busy/idle time is from the timer tick. That means its sampled so you are limited to accurate information on sleep/wake changes occuring at 1/2 the clock rate or less. Alan