Re: [RFC PATCH] x86/speculation: Don't inherit TIF_SSBD on execve()

From: Andi Kleen
Date: Wed Dec 19 2018 - 19:58:45 EST


> You can always force disable SSB. In that case, all the child processes
> will have SSBD on.

Okay that sounds reasonable, given the below. Thanks.

-Andi

>
> >
> > Do you have a real use case where this behavior is a problem?
> >
> > -Andi
>
> Yes, we have an enterprise application partner that found that their
> application slow down up to 10-20% depending on how their application
> was set up. With the slow setup, the application was spawned by Java
> processes causing the SSBD bit to stay on when the application was running.