lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4887F33D.6020803@zytor.com>
Date:	Wed, 23 Jul 2008 23:13:01 -0400
From:	"H. Peter Anvin" <hpa@...or.com>
To:	"Eric W. Biederman" <ebiederm@...ssion.com>
CC:	Andrew Morton <akpm@...ux-foundation.org>,
	Yinghai Lu <yhlu.kernel@...il.com>, mingo@...e.hu,
	tglx@...utronix.de, andi@...stfloor.org, arjan@...radead.org,
	greg@...ah.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86: usb debug port early console

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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ