From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Ellerman Date: Tue, 9 Jun 2020 15:58:30 +1000 (AEST) Subject: [Ocfs2-devel] [PATCH v3 2/5] powerpc: module_[32|64].c: replace swap function with built-in one In-Reply-To: <994931554238042@iva8-b333b7f98ab0.qloud-c.yandex.net> Message-ID: <49gzvB1bJMz9sSy@ozlabs.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Andrey Abramov , vgupta , benh , paulus , tglx , mingo , bp , hpa , x86 , mark , jlbec , richard , dedekind1 , "adrian.hunter" , gregkh , "naveen.n.rao" , jpoimboe , Dave Chinner , "darrick.wong" , "ard.biesheuvel" , George Spelvin , linux-snps-arc , Linux Kernel Mailing List , linuxppc-dev , ocfs2-devel , linux-mtd , sfr Cc: malat , "yamada.masahiro" , npiggin 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 > Reviewed by: George Spelvin > Acked-by: Michael Ellerman (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