From: Marcelo Tosatti <mtosatti@redhat.com>
To: Gleb Natapov <gleb@redhat.com>
Cc: kvm@vger.kernel.org, Frederic Weisbecker <fweisbec@gmail.com>,
Li Zhong <zhong@linux.vnet.ibm.com>
Subject: Re: [PATCH] KVM: use is_idle_task() instead of idle_cpu() to decide when to halt in async_pf
Date: Wed, 28 Nov 2012 21:30:45 -0200 [thread overview]
Message-ID: <20121128233045.GA16986@amt.cnet> (raw)
In-Reply-To: <20121128131908.GE928@redhat.com>
On Wed, Nov 28, 2012 at 03:19:08PM +0200, Gleb Natapov wrote:
> As Frederic pointed idle_cpu() may return false even if async fault
> happened in the idle task if wake up is pending. In this case the code
> will try to put idle task to sleep. Fix this by using is_idle_task() to
> check for idle task.
>
> Reported-by: Frederic Weisbecker <fweisbec@gmail.com>
> Signed-off-by: Gleb Natapov <gleb@redhat.com>
Applied, thanks.
prev parent reply other threads:[~2012-11-29 0:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-28 13:19 [PATCH] KVM: use is_idle_task() instead of idle_cpu() to decide when to halt in async_pf Gleb Natapov
2012-11-28 23:30 ` Marcelo Tosatti [this message]
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=20121128233045.GA16986@amt.cnet \
--to=mtosatti@redhat.com \
--cc=fweisbec@gmail.com \
--cc=gleb@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=zhong@linux.vnet.ibm.com \
/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