linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Frederic Weisbecker <frederic@kernel.org>
To: linux-kernel@vger.kernel.org
Cc: "Frederic Weisbecker" <frederic@kernel.org>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Peter Zijlstra" <peterz@infradead.org>,
	"Radim Krčmář" <rkrcmar@redhat.com>,
	"Wanpeng Li" <wanpengli@tencent.com>,
	"Borislav Petkov" <bp@alien8.de>,
	"Thomas Gleixner" <tglx@linutronix.de>,
	"Sean Christopherson" <sean.j.christopherson@intel.com>,
	"Ingo Molnar" <mingo@redhat.com>,
	"Jim Mattson" <jmattson@google.com>,
	"Joerg Roedel" <joro@8bytes.org>,
	"Andy Lutomirski" <luto@kernel.org>,
	"Vitaly Kuznetsov" <vkuznets@redhat.com>
Subject: [PATCH 0/2] x86/context-tracking: Remove last remaining calls to exception_enter/exception_exit()
Date: Fri, 27 Dec 2019 17:36:10 +0100	[thread overview]
Message-ID: <20191227163612.10039-1-frederic@kernel.org> (raw)

Thanks to the cleanups from Andy Lutomirski over the years, those calls
can now be removed. This will allow for nice things in the future for
x86 support on full nohz:

* Remove TIF_NOHZ and use a per-cpu switch to enable, disable context
  tracking.

* Avoid context tracking on housekeepers.

* Dynamically enable/disable context tracking on CPU on runtime and
  therefore allow runtime enable/disable of nohz_full

* Make nohz_full a property of cpuset.

Frederic Weisbecker (2):
  x86/context-tracking: Remove exception_enter/exit() from
    do_page_fault()
  x86/context-tracking: Remove exception_enter/exit() from
    KVM_PV_REASON_PAGE_NOT_PRESENT async page fault

 arch/x86/kernel/kvm.c |  4 ----
 arch/x86/mm/fault.c   | 39 ++++++++++++---------------------------
 2 files changed, 12 insertions(+), 31 deletions(-)

-- 
2.23.0


             reply	other threads:[~2019-12-27 16:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-27 16:36 Frederic Weisbecker [this message]
2019-12-27 16:36 ` [PATCH 1/2] x86/context-tracking: Remove exception_enter/exit() from do_page_fault() Frederic Weisbecker
2020-01-07  7:36   ` [tip: x86/asm] " tip-bot2 for Frederic Weisbecker
2019-12-27 16:36 ` [PATCH 2/2] x86/context-tracking: Remove exception_enter/exit() from KVM_PV_REASON_PAGE_NOT_PRESENT async page fault Frederic Weisbecker
2020-01-07  7:36   ` [tip: x86/asm] " tip-bot2 for Frederic Weisbecker
2020-01-06 15:05 ` [PATCH 0/2] x86/context-tracking: Remove last remaining calls to exception_enter/exception_exit() Peter Zijlstra
2020-01-06 15:58   ` Frederic Weisbecker

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=20191227163612.10039-1-frederic@kernel.org \
    --to=frederic@kernel.org \
    --cc=bp@alien8.de \
    --cc=jmattson@google.com \
    --cc=joro@8bytes.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@kernel.org \
    --cc=mingo@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peterz@infradead.org \
    --cc=rkrcmar@redhat.com \
    --cc=sean.j.christopherson@intel.com \
    --cc=tglx@linutronix.de \
    --cc=vkuznets@redhat.com \
    --cc=wanpengli@tencent.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;
as well as URLs for NNTP newsgroup(s).