[PATCH v2 1/5] arch/arc: unwind.c: replace swap function with built-in one

Vineet Gupta vineet.gupta1 at synopsys.com
Mon Apr 1 10:53:20 PDT 2019

On 3/31/19 11:31 AM, Andrey Abramov wrote:
> Replace swap_eh_frame_hdr_table_entries with built-in one, because
> swap_eh_frame_hdr_table_entries 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: Vineet Gupta <vgupta at synopsys.com>


More information about the linux-mtd mailing list