Re: [PATCH] jffs2: implement mount option to configure endianness

From: David Woodhouse
Date: Wed Nov 07 2018 - 11:12:24 EST



> Yes, this may slow things down. I am not sure I agree with the impl.
> either.
> Could one not make cpu_to_je_X/jeX_to_cpu a function ptr which is set to
> a func. with the correct endian?

On x86 retpoline would make that quite slow.

--
dwmw2