[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <553FE7C5.2040208@redhat.com>
Date: Tue, 28 Apr 2015 16:04:21 -0400
From: Rik van Riel <riel@...hat.com>
To: Paolo Bonzini <pbonzini@...hat.com>, linux-kernel@...r.kernel.org,
kvm@...r.kernel.org
CC: fweisbec@...il.com, paulmck@...ux.vnet.ibm.com
Subject: Re: [PATCH] context_tracking: remove duplicate enabled check
On 04/28/2015 07:36 AM, Paolo Bonzini wrote:
> All calls to context_tracking_enter and context_tracking_exit
> are already checking context_tracking_is_enabled, except the
> context_tracking_user_enter and context_tracking_user_exit
> functions left in for the benefit of assembly calls.
>
> Pull the check up to those functions, by making them simple
> wrappers around the user_enter and user_exit inline functions.
With this and your other (not yet posted) patch, run time
for the kvm-unit-tests vmexit.flat vmcall test with 10
million iterations drops from 17.8 to 17.5 seconds, which
is about a 1.7% speedup.
--
All rights reversed
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists