From: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
To: Avi Kivity <avi@redhat.com>
Cc: "Christian Bornträger" <borntraeger@de.ibm.com>,
kvm@vger.kernel.org, cotte@de.ibm.com, heiko.carstens@de.ibm.com,
schwidefsky@de.ibm.com, "Marcelo Tosatti" <mtosatti@redhat.com>
Subject: Re: [PATCH 3/3] kvm-s390: streamline memslot handling
Date: Tue, 26 May 2009 12:31:17 +0200 [thread overview]
Message-ID: <4A1BC4F5.1080603@linux.vnet.ibm.com> (raw)
In-Reply-To: <4A1BB5FE.9070300@redhat.com>
Avi Kivity wrote:
> Christian Bornträger wrote:
>> Am Dienstag 26 Mai 2009 09:57:58 schrieb Avi Kivity:
>>
[...]
>> In our low-level interrupt handler we do check for signal_pending,
>> machine_check_pending and need_resched to leave the sie instruction.
>> For anything else a the host sees a cpu bound guest always in the SIE
>> instruction.
>
> Okay, now I understand (and agree with) you multi-level kick thing.
> Maybe we could do it like so:
>
> Interrupt handler (on s390 only) checks vcpu->requests, handles the
> ones it cans. If bits are still set, it exits to arch loop, which
> handles the bits it cans. If bits are still set, it exits to the
> generic code loop, which can finally exit to userspace.
>
> Does this fit with s390 hardware?
>
I like this idea instead of explicitly kicking to an (upper) level to
use the lowest kick and exit if not able to handle.
I think it should work (no guarantee) and I try to come up with
something in the next few days - either a updated patch series or
additional discussion input :-).
--
Grüsse / regards, Christian Ehrhardt
IBM Linux Technology Center, Open Virtualization
prev parent reply other threads:[~2009-05-26 10:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-20 13:34 [PATCH 0/3] kvm-s390: revised version of kvm-s390 guest memory handling ehrhardt
2009-05-20 13:34 ` [PATCH 1/3] kvm-s390: infrastructure to kick vcpus out of guest state ehrhardt
2009-05-20 13:34 ` [PATCH 2/3] kvm-s390: fix signal handling ehrhardt
2009-05-20 13:34 ` [PATCH 3/3] kvm-s390: streamline memslot handling ehrhardt
2009-05-24 14:39 ` Avi Kivity
2009-05-25 8:33 ` Christian Ehrhardt
2009-05-25 11:40 ` Christian Ehrhardt
2009-05-26 7:57 ` Avi Kivity
2009-05-26 8:31 ` Christian Bornträger
2009-05-26 9:27 ` Avi Kivity
2009-05-26 10:31 ` Christian Ehrhardt [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=4A1BC4F5.1080603@linux.vnet.ibm.com \
--to=ehrhardt@linux.vnet.ibm.com \
--cc=avi@redhat.com \
--cc=borntraeger@de.ibm.com \
--cc=cotte@de.ibm.com \
--cc=heiko.carstens@de.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.com \
--cc=schwidefsky@de.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.