Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752453AbcD3TRk (ORCPT ); Sat, 30 Apr 2016 15:17:40 -0400 Received: from mx2.suse.de ([195.135.220.15]:54740 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752022AbcD3TRi (ORCPT ); Sat, 30 Apr 2016 15:17:38 -0400 Date: Sat, 30 Apr 2016 21:17:34 +0200 From: Borislav Petkov To: Andy Lutomirski Cc: Minfei Huang , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Andrew Lutomirski , Paolo Bonzini , Marcelo Tosatti , X86 ML , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] Cleanup __pvclock_read_cycles to remove useless variables Message-ID: <20160430191734.GB4084@pd.tnic> References: <1461567194-2007-1-git-send-email-mnghuan@gmail.com> <20160430132420.GA4084@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 444 Lines: 14 On Sat, Apr 30, 2016 at 10:47:49AM -0700, Andy Lutomirski wrote: > Take a look at vread_pvclock. I decided that __pvclock_read_cycles > was too ugly to use and was very slow and I just gave up and rewrote > it. Should we kill __pvclock_read_cycles in favor of vread_pvclock? It looks doable at a quick scan... -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --