Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1629679

Re: [PATCH 1/2] arm64:vdso: Rewrite gettimeofday into C.

Path csiph.com!aioe.org!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From Catalin Marinas <catalin.marinas@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] arm64:vdso: Rewrite gettimeofday into C.
Date Mon, 24 Apr 2017 17:30:03 +0200
Message-ID <tzO67-eo-45@gated-at.bofh.it> (permalink)
References <tzAmt-7Jg-3@gated-at.bofh.it>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.23 (2014-03-12)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 11
Organization linux.* mail to news gateway
X-Original-Cc linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org
X-Original-Date Mon, 24 Apr 2017 16:21:06 +0100
X-Original-Message-ID <20170424152106.GG25449@e104818-lin.cambridge.arm.com>
X-Original-References <1492991221-5156-1-git-send-email-apinski@cavium.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1629679

Show key headers only | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] arm64:vdso: Rewrite gettimeofday into C. Andrew Pinski <apinski@cavium.com> - 2017-04-24 02:50 +0200
  Re: [PATCH 1/2] arm64:vdso: Rewrite gettimeofday into C. Catalin Marinas <catalin.marinas@arm.com> - 2017-04-24 17:30 +0200

csiph-web