Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762010AbXHFBDh (ORCPT ); Sun, 5 Aug 2007 21:03:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752095AbXHFBD2 (ORCPT ); Sun, 5 Aug 2007 21:03:28 -0400 Received: from scrub.xs4all.nl ([194.109.195.176]:2708 "EHLO scrub.xs4all.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752065AbXHFBD1 (ORCPT ); Sun, 5 Aug 2007 21:03:27 -0400 Date: Mon, 6 Aug 2007 03:03:50 +0200 (CEST) From: Roman Zippel X-X-Sender: roman@scrub.home To: Arjan van de Ven cc: Jonathan Corbet , linux-kernel@vger.kernel.org, Thomas Gleixner , akpm@linux-foundation.org, Ingo Molnar Subject: Re: [PATCH] msleep() with hrtimers In-Reply-To: <1186360983.2697.8.camel@laptopd505.fenrus.org> Message-ID: References: <15327.1186166232@lwn.net> <1186170407.3153.8.camel@laptopd505.fenrus.org> <1186185229.3153.11.camel@laptopd505.fenrus.org> <1186255149.2777.3.camel@laptopd505.fenrus.org> <1186360983.2697.8.camel@laptopd505.fenrus.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 856 Lines: 21 Hi, On Sun, 5 Aug 2007, Arjan van de Ven wrote: > Timers are course resolution that is highly HZ-value dependent. For > cases where you want a finer resolution, the kernel now has a way to > provide that functionality... so why not use the quality of service this > provides.. We're going in circles here. We have two different timer APIs for a reason, only because hrtimer provide better resolution, doesn't automatically make them the better generic timer. There's no problem to provide a high resolution sleep, but there is also no reason to mess with msleep, don't fix what ain't broken... bye, Roman - 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/