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: <alpine.DEB.2.20.1801241246350.1997@nanos>
Date:   Wed, 24 Jan 2018 12:47:25 +0100 (CET)
From:   Thomas Gleixner <tglx@...utronix.de>
To:     Jia-Ju Bai <baijiaju1990@...il.com>
cc:     ning.sun@...el.com, mingo@...hat.com, hpa@...or.com,
        x86@...nel.org, tboot-devel@...ts.sourceforge.net,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] kernel: x86: tboot: Replace mdelay with usleep_range in
 tboot_wait_for_aps

On Wed, 24 Jan 2018, Jia-Ju Bai wrote:

> The function tboot_wait_for_aps is not called in atomic context.
> Thus mdelay can be replaced with usleep_range, to reduce busy wait.

And how did you establish that it's not called in atomic context?

Thanks,

	tglx

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ