Skip to content

RFC Do not slow down some AMD devices with coresched

Joel Fernandes (Google) lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/bugs: Disable coresched on hardware that does not need itarch/x86/kernel/cpu/bugs.c kernel/sched/core.c kernel/sched/sched.h+20 -013 replies
2/2sched/debug: Add debug information about whether coresched is enabledkernel/sched/debug.c+4 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/2] Do not slow down some AMD devices with coresched

Hi,
Here are 2 patches I am thinking of sending with next coresched series. Let me know what you think. These are for not slowing down certain AMD devices if they don't have vulnerabilities that require coresched.

1/2 - keep coresched disabled if device doesn't have vulnerability. 2/2 - add debug information.

In the future, if needed we could add more options to make it possible to force-enable coresched. But right now I don't see a need for that, till a usecase arises.

Joel Fernandes (Google) (2):
x86/bugs: Disable coresched on hardware that does not need it sched/debug: Add debug information about whether coresched is enabled

arch/x86/kernel/cpu/bugs.c | 8 ++++++++
kernel/sched/core.c        | 7 +++++++
kernel/sched/debug.c       | 4 ++++
kernel/sched/sched.h       | 5 +++++
4 files changed, 24 insertions(+)

--
2.29.2.222.g5d2a92d10f8-goog