From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755039AbbJ1BkM (ORCPT ); Tue, 27 Oct 2015 21:40:12 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:35371 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752365AbbJ1BkK (ORCPT ); Tue, 27 Oct 2015 21:40:10 -0400 From: Paolo Bonzini To: linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: Andy Lutomirski , Frederic Weisbecker , Rik van Riel , Paul McKenney Subject: [PATCH 0/3] context_tracking: streamline code, avoid IRQ save/restore Date: Wed, 28 Oct 2015 02:39:54 +0100 Message-Id: <1445996397-32703-1-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 2.5.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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