* backport "x86: change default to spec_store_bypass_disable=prctl spectre_v2_user=prctl"
@ 2023-10-13 14:28 Mahmoud Adam
2023-10-14 9:27 ` Greg KH
0 siblings, 1 reply; 4+ messages in thread
From: Mahmoud Adam @ 2023-10-13 14:28 UTC (permalink / raw)
To: stable
Hi,
commit 2f46993d83ff upstream.
Please backport this commit to the other stable kernels, since this
patch landed on 6.1 and We've seen 30% improvement with docker
containers running heavy cpu/mem tasks
-MNAdam
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: backport "x86: change default to spec_store_bypass_disable=prctl spectre_v2_user=prctl"
2023-10-13 14:28 backport "x86: change default to spec_store_bypass_disable=prctl spectre_v2_user=prctl" Mahmoud Adam
@ 2023-10-14 9:27 ` Greg KH
2023-11-01 15:15 ` Mahmoud Adam
0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2023-10-14 9:27 UTC (permalink / raw)
To: Mahmoud Adam; +Cc: stable
On Fri, Oct 13, 2023 at 04:28:37PM +0200, Mahmoud Adam wrote:
>
> Hi,
>
> commit 2f46993d83ff upstream.
>
> Please backport this commit to the other stable kernels, since this
> patch landed on 6.1 and We've seen 30% improvement with docker
> containers running heavy cpu/mem tasks
Why is this required at all? It just changes a default option, you can
set the "faster" option yourself if you really feel it is a good idea
for older kernels, why can't you do that for containers you want it
enabled on for these older kernels?
And what exact kernel versions did you test this on?
And how is this not a new feature?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: backport "x86: change default to spec_store_bypass_disable=prctl spectre_v2_user=prctl"
2023-10-14 9:27 ` Greg KH
@ 2023-11-01 15:15 ` Mahmoud Adam
2023-11-06 9:19 ` Greg KH
0 siblings, 1 reply; 4+ messages in thread
From: Mahmoud Adam @ 2023-11-01 15:15 UTC (permalink / raw)
To: Greg KH; +Cc: stable
> Why is this required at all? It just changes a default option, you can
> set the "faster" option yourself if you really feel it is a good idea
> for older kernels, why can't you do that for containers you want it
> enabled on for these older kernels?
The patch has already motivations of why this is a better default, and
changing this would give performance improvements
> And what exact kernel versions did you test this on?
this was tested on 5.15 and 5.10
> And how is this not a new feature?
As you mentioned it changes the default option, Why is this considered a
new feature?
thanks,
MNAdam
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: backport "x86: change default to spec_store_bypass_disable=prctl spectre_v2_user=prctl"
2023-11-01 15:15 ` Mahmoud Adam
@ 2023-11-06 9:19 ` Greg KH
0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2023-11-06 9:19 UTC (permalink / raw)
To: Mahmoud Adam; +Cc: stable
On Wed, Nov 01, 2023 at 04:15:24PM +0100, Mahmoud Adam wrote:
> > Why is this required at all? It just changes a default option, you can
> > set the "faster" option yourself if you really feel it is a good idea
> > for older kernels, why can't you do that for containers you want it
> > enabled on for these older kernels?
>
> The patch has already motivations of why this is a better default, and
> changing this would give performance improvements
>
> > And what exact kernel versions did you test this on?
>
> this was tested on 5.15 and 5.10
>
> > And how is this not a new feature?
>
> As you mentioned it changes the default option, Why is this considered a
> new feature?
Changing the default option when booting is a new feature in that it
changes what was previously happening before.
And, anyone running those old kernels, if they are comfortable with
making this feature the default, in order to get the performance
increase you say is there, can change their command line to do so, no
kernel changes needed.
So for now, I'll leave this as-is, thanks.
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-11-06 9:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-13 14:28 backport "x86: change default to spec_store_bypass_disable=prctl spectre_v2_user=prctl" Mahmoud Adam
2023-10-14 9:27 ` Greg KH
2023-11-01 15:15 ` Mahmoud Adam
2023-11-06 9:19 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox