Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752415AbYGXDRW (ORCPT ); Wed, 23 Jul 2008 23:17:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751239AbYGXDRO (ORCPT ); Wed, 23 Jul 2008 23:17:14 -0400 Received: from terminus.zytor.com ([198.137.202.10]:46304 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751232AbYGXDRN (ORCPT ); Wed, 23 Jul 2008 23:17:13 -0400 Message-ID: <4887F33D.6020803@zytor.com> Date: Wed, 23 Jul 2008 23:13:01 -0400 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: "Eric W. Biederman" CC: Andrew Morton , Yinghai Lu , mingo@elte.hu, tglx@linutronix.de, andi@firstfloor.org, arjan@infradead.org, greg@kroah.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86: usb debug port early console References: <200807231252.20371.yhlu.kernel@gmail.com> <20080723131218.f03ed672.akpm@linux-foundation.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 601 Lines: 21 Eric W. Biederman wrote: > >>> +static void dbgp_breath(void) >>> +{ >>> + /* Sleep to give the debug port a chance to breathe */ >>> +} >> I expect the compiler will optimise away any calls to this. > > It is documentation that is if it might be a good idea to not hit the > hardware there. > Sounds an awful lot like cpu_relax(); doesn't it? -hpa -- 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/