Michael Ellerman
2020-Jun-09 05:58 UTC
[Ocfs2-devel] [PATCH v3 2/5] powerpc: module_[32|64].c: replace swap function with built-in one
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 <st5pub at yandex.ru> > Reviewed by: George Spelvin <lkml at sdf.org> > Acked-by: Michael Ellerman <mpe at ellerman.id.au> (powerpc)Applied to powerpc next, thanks. https://urldefense.com/v3/__https://git.kernel.org/powerpc/c/bac7ca7b985b72873bd4ac2553b13b5af5b1f08a__;!!GqivPVa7Brio!LocsSQ-zlIql0GWmmMG2Ry4W0wSo1gzfh36_pvi7Zc-ccRgumoV9gaJm3n89_0RPl8Z-mQ$ cheers