From: Michael Ellerman <patch-notifications@ellerman.id.au>
To: Michael Ellerman <mpe@ellerman.id.au>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Christophe Leroy <christophe.leroy@csgroup.eu>,
Paul Mackerras <paulus@samba.org>
Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH] powerpc/time: Force inlining of get_tb()
Date: Wed, 23 Dec 2020 00:11:24 +1100 (AEDT) [thread overview]
Message-ID: <160864266098.1929899.4436142434318857345.b4-ty@ellerman.id.au> (raw)
In-Reply-To: <df05d53eed1210cf1aa76d1fb44aa0fab29c018e.1608488286.git.christophe.leroy@csgroup.eu>
On Sun, 20 Dec 2020 18:18:26 +0000 (UTC), Christophe Leroy wrote:
> Force inlining of get_tb() in order to avoid getting
> following function in vdso32, leading to suboptimal
> performance in clock_gettime()
>
> 00000688 <.get_tb>:
> 688: 7c 6d 42 a6 mftbu r3
> 68c: 7c 8c 42 a6 mftb r4
> 690: 7d 2d 42 a6 mftbu r9
> 694: 7c 03 48 40 cmplw r3,r9
> 698: 40 e2 ff f0 bne+ 688 <.get_tb>
> 69c: 4e 80 00 20 blr
Applied to powerpc/fixes.
[1/1] powerpc/time: Force inlining of get_tb()
https://git.kernel.org/powerpc/c/0faa22f09caadc11af2aa7570870ebd2ac5b8170
cheers
WARNING: multiple messages have this Message-ID (diff)
From: Michael Ellerman <patch-notifications@ellerman.id.au>
To: Michael Ellerman <mpe@ellerman.id.au>,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Christophe Leroy <christophe.leroy@csgroup.eu>,
Paul Mackerras <paulus@samba.org>
Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] powerpc/time: Force inlining of get_tb()
Date: Wed, 23 Dec 2020 00:11:24 +1100 (AEDT) [thread overview]
Message-ID: <160864266098.1929899.4436142434318857345.b4-ty@ellerman.id.au> (raw)
In-Reply-To: <df05d53eed1210cf1aa76d1fb44aa0fab29c018e.1608488286.git.christophe.leroy@csgroup.eu>
On Sun, 20 Dec 2020 18:18:26 +0000 (UTC), Christophe Leroy wrote:
> Force inlining of get_tb() in order to avoid getting
> following function in vdso32, leading to suboptimal
> performance in clock_gettime()
>
> 00000688 <.get_tb>:
> 688: 7c 6d 42 a6 mftbu r3
> 68c: 7c 8c 42 a6 mftb r4
> 690: 7d 2d 42 a6 mftbu r9
> 694: 7c 03 48 40 cmplw r3,r9
> 698: 40 e2 ff f0 bne+ 688 <.get_tb>
> 69c: 4e 80 00 20 blr
Applied to powerpc/fixes.
[1/1] powerpc/time: Force inlining of get_tb()
https://git.kernel.org/powerpc/c/0faa22f09caadc11af2aa7570870ebd2ac5b8170
cheers
next prev parent reply other threads:[~2020-12-22 13:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-20 18:18 [PATCH] powerpc/time: Force inlining of get_tb() Christophe Leroy
2020-12-20 18:18 ` Christophe Leroy
2020-12-22 13:11 ` Michael Ellerman [this message]
2020-12-22 13:11 ` Michael Ellerman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=160864266098.1929899.4436142434318857345.b4-ty@ellerman.id.au \
--to=patch-notifications@ellerman.id.au \
--cc=benh@kernel.crashing.org \
--cc=christophe.leroy@csgroup.eu \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.