lkml.org 
[lkml]   [2018]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2018-01-24 12:48    [W:0.117 / U:0.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site