From: Avi Kivity <avi@redhat.com>
To: Arjan van de Ven <arjan@infradead.org>
Cc: Ingo Molnar <mingo@elte.hu>, "H. Peter Anvin" <hpa@zytor.com>,
linux-kernel@vger.kernel.org, kvm@vger.kernel.org,
Marcelo Tosatti <mtosatti@redhat.com>
Subject: Re: [PATCH v2] core, x86: Add user return notifiers
Date: Tue, 22 Sep 2009 12:48:49 +0300 [thread overview]
Message-ID: <4AB89D81.5080808@redhat.com> (raw)
In-Reply-To: <20090922113708.65f655f6@infradead.org>
On 09/22/2009 12:37 PM, Arjan van de Ven wrote:
> On Tue, 22 Sep 2009 12:25:33 +0300
> Avi Kivity<avi@redhat.com> wrote:
>
>
>> On 09/19/2009 09:40 AM, Avi Kivity wrote:
>>
>>> Add a general per-cpu notifier that is called whenever the kernel is
>>> about to return to userspace. The notifier uses a thread_info flag
>>> and existing checks, so there is no impact on user return or context
>>> switch fast paths.
>>>
>>>
>> Ingo/Peter?
>>
> isn't this like really expensive when used ?
>
No, why? It triggers a call to do_notify_resume() and a walks a list of
length 1.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2009-09-22 9:49 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-16 12:45 [PATCH 0/4] User return notifiers / just-in-time MSR switching for KVM Avi Kivity
2009-09-16 12:45 ` [PATCH 1/4] core, x86: Add user return notifiers Avi Kivity
2009-09-18 18:14 ` H. Peter Anvin
2009-09-19 6:40 ` [PATCH v2] " Avi Kivity
2009-09-22 9:25 ` Avi Kivity
2009-09-22 9:37 ` Arjan van de Ven
2009-09-22 9:48 ` Avi Kivity [this message]
2009-09-22 14:32 ` Ingo Molnar
2009-09-22 14:45 ` Avi Kivity
2009-09-22 15:50 ` Avi Kivity
2009-09-22 17:08 ` Avi Kivity
2009-09-22 15:19 ` H. Peter Anvin
2009-10-01 15:21 ` Avi Kivity
2009-10-01 15:25 ` H. Peter Anvin
2009-10-01 15:30 ` Avi Kivity
2009-10-01 18:33 ` H. Peter Anvin
2009-09-22 16:50 ` Peter Zijlstra
2009-09-22 16:52 ` Avi Kivity
2009-09-22 16:55 ` Peter Zijlstra
2009-09-22 17:05 ` Avi Kivity
2009-09-22 18:06 ` Peter Zijlstra
2009-11-02 10:12 ` [tip:x86/entry] " tip-bot for Avi Kivity
2009-09-19 6:40 ` [PATCH 1/4] " Avi Kivity
2009-09-16 12:45 ` [PATCH 2/4] KVM: VMX: Move MSR_KERNEL_GS_BASE out of the vmx autoload msr area Avi Kivity
2009-09-16 12:45 ` [PATCH 3/4] KVM: x86 shared msr infrastructure Avi Kivity
2009-09-16 21:21 ` Marcelo Tosatti
2009-09-16 21:24 ` Avi Kivity
2009-09-16 12:45 ` [PATCH 4/4] KVM: VMX: Use " Avi Kivity
2009-10-25 12:23 ` [PATCH 0/4] User return notifiers / just-in-time MSR switching for KVM Avi Kivity
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=4AB89D81.5080808@redhat.com \
--to=avi@redhat.com \
--cc=arjan@infradead.org \
--cc=hpa@zytor.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=mtosatti@redhat.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