From: Thomas Gleixner <tglx@linutronix.de>
To: Jia-Ju Bai <baijiaju1990@gmail.com>
Cc: ning.sun@intel.com, mingo@redhat.com, hpa@zytor.com,
x86@kernel.org, tboot-devel@lists.sourceforge.net,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] kernel: x86: tboot: Replace mdelay with usleep_range in tboot_wait_for_aps
Date: Wed, 24 Jan 2018 12:47:25 +0100 (CET) [thread overview]
Message-ID: <alpine.DEB.2.20.1801241246350.1997@nanos> (raw)
In-Reply-To: <1516759102-17549-1-git-send-email-baijiaju1990@gmail.com>
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
next prev parent reply other threads:[~2018-01-24 11:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-24 1:58 Jia-Ju Bai
2018-01-24 11:47 ` Thomas Gleixner [this message]
2018-01-24 13:37 ` Jia-Ju Bai
2018-01-24 17:20 ` Sun, Ning
2018-01-25 9:35 ` Thomas Gleixner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.20.1801241246350.1997@nanos \
--to=tglx@linutronix.de \
--cc=baijiaju1990@gmail.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=ning.sun@intel.com \
--cc=tboot-devel@lists.sourceforge.net \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®