All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcelo Tosatti <mtosatti@redhat.com>
To: Alexander Graf <agraf-l3A5Bk7waGM@public.gmane.org>
Cc: kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	kvm-ppc <kvm-ppc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH] PPC: Enable lightweight exits again
Date: Wed, 06 Jan 2010 08:54:56 +0000	[thread overview]
Message-ID: <20100106085456.GD3966@amt.cnet> (raw)
In-Reply-To: <1262639965-21489-1-git-send-email-agraf-l3A5Bk7waGM@public.gmane.org>

On Mon, Jan 04, 2010 at 10:19:25PM +0100, Alexander Graf wrote:
> The PowerPC C ABI defines that registers r14-r31 need to be preserved across
> function calls. Since our exit handler is written in C, we can make use of that
> and don't need to reload r14-r31 on every entry/exit cycle.
> 
> This technique is also used in the BookE code and is called "lightweight exits"
> there. To follow the tradition, it's called the same in Book3S.
> 
> So far this optimization was disabled though, as the code didn't do what it was
> expected to do, but failed to work.
> 
> This patch fixes and enables lightweight exits again.
> 
> Signed-off-by: Alexander Graf <agraf@suse.de>

Applied, thanks.


WARNING: multiple messages have this Message-ID (diff)
From: Marcelo Tosatti <mtosatti-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Alexander Graf <agraf-l3A5Bk7waGM@public.gmane.org>
Cc: kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	kvm-ppc <kvm-ppc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH] PPC: Enable lightweight exits again
Date: Wed, 6 Jan 2010 06:54:56 -0200	[thread overview]
Message-ID: <20100106085456.GD3966@amt.cnet> (raw)
In-Reply-To: <1262639965-21489-1-git-send-email-agraf-l3A5Bk7waGM@public.gmane.org>

On Mon, Jan 04, 2010 at 10:19:25PM +0100, Alexander Graf wrote:
> The PowerPC C ABI defines that registers r14-r31 need to be preserved across
> function calls. Since our exit handler is written in C, we can make use of that
> and don't need to reload r14-r31 on every entry/exit cycle.
> 
> This technique is also used in the BookE code and is called "lightweight exits"
> there. To follow the tradition, it's called the same in Book3S.
> 
> So far this optimization was disabled though, as the code didn't do what it was
> expected to do, but failed to work.
> 
> This patch fixes and enables lightweight exits again.
> 
> Signed-off-by: Alexander Graf <agraf-l3A5Bk7waGM@public.gmane.org>

Applied, thanks.

  parent reply	other threads:[~2010-01-06  8:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-04 21:19 [PATCH] PPC: Enable lightweight exits again Alexander Graf
2010-01-04 21:19 ` Alexander Graf
     [not found] ` <1262639965-21489-1-git-send-email-agraf-l3A5Bk7waGM@public.gmane.org>
2010-01-06  8:54   ` Marcelo Tosatti [this message]
2010-01-06  8:54     ` Marcelo Tosatti

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=20100106085456.GD3966@amt.cnet \
    --to=mtosatti@redhat.com \
    --cc=agraf-l3A5Bk7waGM@public.gmane.org \
    --cc=kvm-ppc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.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 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.