From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760065AbYEYUXg (ORCPT ); Sun, 25 May 2008 16:23:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754950AbYEYUX2 (ORCPT ); Sun, 25 May 2008 16:23:28 -0400 Received: from www.tglx.de ([62.245.132.106]:41681 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754141AbYEYUX1 (ORCPT ); Sun, 25 May 2008 16:23:27 -0400 Date: Sun, 25 May 2008 22:21:51 +0200 (CEST) From: Thomas Gleixner To: Steven Rostedt cc: LKML , linux-rt-users , akpm@osdl.org, Ingo Molnar , Clark Williams , Peter Zijlstra , "Luis Claudio R. Goncalves" , Gregory Haskins , Andi Kleen , Linus Torvalds Subject: Re: [PATCH] x86: enable preemption in delay In-Reply-To: Message-ID: References: User-Agent: Alpine 1.10 (LFD 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 25 May 2008, Steven Rostedt wrote: > > On Sun, 25 May 2008, Thomas Gleixner wrote: > > > > +/* > > + * 5 usec on a 1GHZ machine. Not necessarily correct, but not too long > > + * either. > > And what happens when we have 10GHz boxes that can do migration in 1us, > and the delay that is asked for is 2us. We can return early. I don't like > to place assumptions of this kind that can hurt with future hardware > enhancements. Do the math. It's 500ns on a 10GHz machine then. So nothing to worry about and future proof. Also when those 10GHZ machines arrive the synchronized TSC should have finally become reality. Thanks, tglx