Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756206AbXLSBHM (ORCPT ); Tue, 18 Dec 2007 20:07:12 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752171AbXLSBHA (ORCPT ); Tue, 18 Dec 2007 20:07:00 -0500 Received: from mout1.freenet.de ([195.4.92.91]:39831 "EHLO mout1.freenet.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752010AbXLSBG7 (ORCPT ); Tue, 18 Dec 2007 20:06:59 -0500 From: Karsten Wiese To: Robert Hancock Subject: Re: [RFC/PATCH] 2.6.24-rcx: Make sys_poll() wait at least timeout ms Date: Wed, 19 Dec 2007 02:06:56 +0100 User-Agent: KMail/1.9.6 (enterprise 0.20071012.724442) Cc: linux-kernel@vger.kernel.org References: <47685F4B.8000207@shaw.ca> In-Reply-To: <47685F4B.8000207@shaw.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712190206.56428.fzu@wemgehoertderstaat.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 610 Lines: 17 Am Mittwoch, 19. Dezember 2007 schrieb Robert Hancock: > > That seems fishy. What is your value of HZ and what is the timeout value > that was passed in the bad case? HZ set to 250, timeout to 4ms. Time spent in poll() taken by clock_gettime(CLOCK_MONOTONIC, &time) before and after poll()call: i.e 62us. Time measured with hpet gave 166us once. Karsten -- 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/