All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: linux-kernel@vger.kernel.org, kvm@vger.kernel.org
Cc: Andy Lutomirski <luto@kernel.org>,
	Frederic Weisbecker <fweisbec@gmail.com>,
	Rik van Riel <riel@redhat.com>,
	Paul McKenney <paulmck@linux.vnet.ibm.com>
Subject: [PATCH 0/3] context_tracking: streamline code, avoid IRQ save/restore
Date: Wed, 28 Oct 2015 02:39:54 +0100	[thread overview]
Message-ID: <1445996397-32703-1-git-send-email-pbonzini@redhat.com> (raw)

The first two of these patches were posted last February, the last one
is new.  Rik's old measurements were that it shaved around .3 microseconds
on each iteration of his KVM benchmark.

I guess three days before the start of the merge window is not
the best time to post patches.  However, I brought this series up at
kernel summit yesterday, and Andy's cleanups actually makes it trivial
to apply this to syscall entry.  So here it is, perhaps it's worth it.

Assuming it works, of course, because this is compile-tested only. :)

Paolo

Paolo Bonzini (3):
  context_tracking: remove duplicate enabled check
  context_tracking: avoid irq_save/irq_restore on guest entry and exit
  x86: context_tracking: avoid irq_save/irq_restore on kernel entry and exit

 arch/x86/entry/common.c          |  4 +-
 include/linux/context_tracking.h | 50 +++++++++++++++++--------
 kernel/context_tracking.c        | 80 ++++++++++++++++++++--------------------
 3 files changed, 76 insertions(+), 58 deletions(-)

-- 
2.5.0


             reply	other threads:[~2015-10-28  1:40 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-28  1:39 Paolo Bonzini [this message]
2015-10-28  1:39 ` [PATCH 1/3] context_tracking: remove duplicate enabled check Paolo Bonzini
2015-10-28  5:19   ` Andy Lutomirski
2015-11-07  9:38     ` Paolo Bonzini
2015-11-09 13:57   ` Rik van Riel
2015-10-28  1:39 ` [PATCH 2/3] context_tracking: avoid irq_save/irq_restore on guest entry and exit Paolo Bonzini
2015-10-28  5:20   ` Andy Lutomirski
2015-11-09 13:58   ` Rik van Riel
2015-10-28  1:39 ` [PATCH 3/3] x86: context_tracking: avoid irq_save/irq_restore on kernel " Paolo Bonzini
2015-10-28  5:22   ` Andy Lutomirski
2015-10-28 14:51     ` Paolo Bonzini
2016-03-14 19:23     ` Andy Lutomirski
2016-03-15  8:51       ` Paolo Bonzini
2015-10-28  2:05 ` [PATCH 0/3] context_tracking: streamline code, avoid IRQ save/restore Paolo Bonzini

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=1445996397-32703-1-git-send-email-pbonzini@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=fweisbec@gmail.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@kernel.org \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=riel@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 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.