Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932266AbWC0ATm (ORCPT ); Sun, 26 Mar 2006 19:19:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932269AbWC0ATm (ORCPT ); Sun, 26 Mar 2006 19:19:42 -0500 Received: from ns.suse.de ([195.135.220.2]:20415 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S932266AbWC0ATk (ORCPT ); Sun, 26 Mar 2006 19:19:40 -0500 From: Andi Kleen To: Chuck Ebbert <76306.1226@compuserve.com> Subject: Re: [patch] fix delay_tsc (was Re: delay_tsc(): inefficient delay loop (2.6.16-mm1)) Date: Mon, 27 Mar 2006 01:18:52 +0200 User-Agent: KMail/1.8 Cc: Ray Lee , Andreas Mohr , Andrew Morton , linux-kernel , Dominik Brodowski , John Stultz , Alan Cox References: <200603261647_MC3-1-BB98-CB09@compuserve.com> In-Reply-To: <200603261647_MC3-1-BB98-CB09@compuserve.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603270118.53102.ak@suse.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 556 Lines: 14 > I'm running a system with this applied now. I think there are still > problems if someone uses huge delays, though. What keeps someone from > trying to delay for > 2^31 cycles? You shouldn't. The caller has a compile time check for that. And if you pass in dynamic values you get what you deserve. -Andi - 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/