Re: [regression/bisected] Add IBPB decreases performance in two times

From: Mikhail Gavrilov
Date: Sun Aug 13 2023 - 18:49:13 EST


On Sun, Aug 13, 2023 at 7:19 PM Borislav Petkov <bp@xxxxxxxxx> wrote:
> Nah, most people search the net and usually find the documentation, as
> past experience shows. In this case, they will find:
>
> https://kernel.org/doc/html/latest/admin-guide/hw-vuln/srso.html
>
> It will be there next week but here's the source:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/admin-guide/hw-vuln/srso.rst
>
> --
> Regards/Gruss,
> Boris.
>
> https://people.kernel.org/tglx/notes-about-netiquette

I am figure out why I noticed lage impact of safe RET on my system.
safe-ret + KASAN = decrease performance for 50% in all scenarios
I use KASAN on a daily basis to catch bugs.
Is it possible for systems with KASAN to make a more optimal approach of SRSO?

--
Best Regards,
Mike Gavrilov.