From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754856AbcGFNsN (ORCPT ); Wed, 6 Jul 2016 09:48:13 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:34105 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754040AbcGFNsJ (ORCPT ); Wed, 6 Jul 2016 09:48:09 -0400 Subject: Re: [PATCH v2 0/2] x86/entry: speed up context-tracking system calls by 150 clock cycles To: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Ingo Molnar References: <1466434712-31440-1-git-send-email-pbonzini@redhat.com> Cc: Andy Lutomirski , Peter Zijlstra , Rik van Riel , "H . Peter Anvin" , Thomas Gleixner From: Paolo Bonzini Message-ID: Date: Wed, 6 Jul 2016 15:47:32 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <1466434712-31440-1-git-send-email-pbonzini@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/06/2016 16:58, Paolo Bonzini wrote: > The first patches are the two optimizations I posted on May 30th > for the system call entry/exit code. The only change is in the > function names, which use the user_{enter,exit}_irqoff favored > by Andy and Ingo. The first patch matches what commit d0e536d8939 > ("context_tracking: avoid irq_save/irq_restore on guest entry and exit", > 2015-10-28) did for guest entry and exit. The second simply adds > an inline annotation; the compiler doesn't figure it out because the > function is not static. > > The second two patches move guest_{enter,exit} to the same naming > convention, removing the KVM wrappers kvm_guest_{enter,exit} and > __kvm_guest_{enter,exit} in the process. I would like these two to > go through the KVM tree because I have other optimizations for 4.8 > on top of these patches. > > Thanks, Ingo, ping for these two patches: http://article.gmane.org/gmane.linux.kernel/2248541/raw http://article.gmane.org/gmane.comp.emulators.kvm.devel/153909/raw Thanks, Paolo