Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754870AbbFQJ1I (ORCPT ); Wed, 17 Jun 2015 05:27:08 -0400 Received: from cantor2.suse.de ([195.135.220.15]:57758 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750818AbbFQJ06 (ORCPT ); Wed, 17 Jun 2015 05:26:58 -0400 Date: Wed, 17 Jun 2015 11:26:55 +0200 From: Borislav Petkov To: Andy Lutomirski Cc: x86@kernel.org, Peter Zijlstra , John Stultz , linux-kernel@vger.kernel.org, Len Brown , Huang Rui , Denys Vlasenko , kvm@vger.kernel.org, Ralf Baechle Subject: Re: [PATCH v3 01/18] x86/tsc: Inline native_read_tsc and remove __native_read_tsc Message-ID: <20150617092655.GA26661@pd.tnic> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1181 Lines: 32 On Tue, Jun 16, 2015 at 05:35:49PM -0700, Andy Lutomirski wrote: > In cdc7957d1954 ("x86: move native_read_tsc() offline"), > native_read_tsc was moved out of line, presumably for some > now-obsolete vDSO-related reason. Undo it. > > The entire rdtsc, shl, or sequence is only 11 bytes, and calls via > rdtscl and similar helpers were already inlined. > > Signed-off-by: Andy Lutomirski > --- > arch/x86/entry/vdso/vclock_gettime.c | 2 +- > arch/x86/include/asm/msr.h | 8 +++----- > arch/x86/include/asm/pvclock.h | 2 +- > arch/x86/include/asm/stackprotector.h | 2 +- > arch/x86/include/asm/tsc.h | 2 +- > arch/x86/kernel/apb_timer.c | 4 ++-- > arch/x86/kernel/tsc.c | 6 ------ > 7 files changed, 9 insertions(+), 17 deletions(-) Acked-by: Borislav Petkov -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/