Re: [PATCH v3 2/5] powerpc: module_[32|64].c: replace swap function with built-in one

From
Michael Ellerman <hidden>
Date
2020-06-09 07:04:29
Also in
ocfs2-devel
Reply to
Andrey Abramov, 2019-04-02
On Tue, 2019-04-02 at 20:47:22 UTC, Andrey Abramov wrote:
Replace relaswap with built-in one, because relaswap
does a simple byte to byte swap.

Since Spectre mitigations have made indirect function calls more
expensive, and the default simple byte copies swap is implemented
without them, an "optimized" custom swap function is now
a waste of time as well as code.

Signed-off-by: Andrey Abramov <redacted>
Reviewed by: George Spelvin [off-list ref]
Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)
Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/bac7ca7b985b72873bd4ac2553b13b5af5b1f08a

cheers
Thread (8 messages) 8 messages, 3 authors, last reply 2020-06-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help