From: Paolo Bonzini <pbonzini@redhat.com>
To: Chris Metcalf <cmetcalf@mellanox.com>,
yunhong jiang <yunhong.jiang@linux.intel.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: Questions on the task isolation patches
Date: Tue, 20 Dec 2016 10:27:14 +0100 [thread overview]
Message-ID: <050e5bb5-b5d3-86a4-f7ff-5f633a4bd2bc@redhat.com> (raw)
In-Reply-To: <fe787860-facb-7605-5279-d6b48af96817@mellanox.com>
On 16/12/2016 22:00, Chris Metcalf wrote:
>
> Sorry, I think I wasn't clear. Normally when you are running task
> isolated and you enter the kernel, you will get a fatal signal. The
> exception is if you call prctl itself (or exit), the kernel tolerates
> it without a signal, since obviously that's how you need to cleanly
> tell the kernel you are done with task isolation.
Running in a guest is pretty much the same as running in userspace.
Would it be possible to exclude the KVM_RUN ioctl as well? QEMU would
still have to run prctl when a CPU goes to sleep, and KVM_RUN would have
to enable/disable isolated mode when a VM executes HLT (which should
never happen anyway in NFV scenarios).
Paolo
next prev parent reply other threads:[~2016-12-20 9:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-01 22:28 yunhong jiang
2016-12-02 18:58 ` Chris Metcalf
2016-12-06 21:43 ` yunhong jiang
2016-12-16 21:00 ` Chris Metcalf
2016-12-17 1:00 ` yunhong jiang
2016-12-20 9:27 ` Paolo Bonzini [this message]
2016-12-22 20:56 ` Chris Metcalf
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=050e5bb5-b5d3-86a4-f7ff-5f633a4bd2bc@redhat.com \
--to=pbonzini@redhat.com \
--cc=cmetcalf@mellanox.com \
--cc=linux-kernel@vger.kernel.org \
--cc=yunhong.jiang@linux.intel.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
all inboxes | Powered by JetHome®