[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87r1jf1xfu.ffs@nanos.tec.linutronix.de>
Date: Mon, 12 Apr 2021 14:47:49 +0200
From: Thomas Gleixner <tglx@...utronix.de>
To: Christophe Leroy <christophe.leroy@...roup.eu>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Michael Ellerman <mpe@...erman.id.au>
Cc: linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
dima@...sta.com, avagin@...il.com, arnd@...db.de,
vincenzo.frascino@....com, luto@...nel.org,
linux-arch@...r.kernel.org
Subject: Re: [PATCH RESEND v1 1/4] lib/vdso: Mark do_hres_timens() and do_coarse_timens() __always_inline()
On Wed, Mar 31 2021 at 16:48, Christophe Leroy wrote:
> In the same spirit as commit c966533f8c6c ("lib/vdso: Mark do_hres()
> and do_coarse() as __always_inline"), mark do_hres_timens() and
> do_coarse_timens() __always_inline.
>
> The measurement below in on a non timens process, ie on the fastest path.
>
> On powerpc32, without the patch:
>
> clock-gettime-monotonic-raw: vdso: 1155 nsec/call
> clock-gettime-monotonic-coarse: vdso: 813 nsec/call
> clock-gettime-monotonic: vdso: 1076 nsec/call
>
> With the patch:
>
> clock-gettime-monotonic-raw: vdso: 1100 nsec/call
> clock-gettime-monotonic-coarse: vdso: 667 nsec/call
> clock-gettime-monotonic: vdso: 1025 nsec/call
>
> Signed-off-by: Christophe Leroy <christophe.leroy@...roup.eu>
Reviewed-by: Thomas Gleixner <tglx@...utronix.de>
Powered by blists - more mailing lists