Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1169986AbdDXPVQ (ORCPT ); Mon, 24 Apr 2017 11:21:16 -0400 Received: from foss.arm.com ([217.140.101.70]:58012 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1763664AbdDXPVK (ORCPT ); Mon, 24 Apr 2017 11:21:10 -0400 Date: Mon, 24 Apr 2017 16:21:06 +0100 From: Catalin Marinas To: Andrew Pinski Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] arm64:vdso: Rewrite gettimeofday into C. Message-ID: <20170424152106.GG25449@e104818-lin.cambridge.arm.com> References: <1492991221-5156-1-git-send-email-apinski@cavium.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1492991221-5156-1-git-send-email-apinski@cavium.com> 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: 324 Lines: 11 On Sun, Apr 23, 2017 at 04:47:00PM -0700, Andrew Pinski wrote: > This allows the compiler to optimize the divide by 1000. > And remove the other divide. > > On ThunderX, gettimeofday improves by 32%. On ThunderX 2, > gettimeofday improves by 18%. Is this with or without the second patch (removing the ISB)? -- Catalin