Skip to content

SMTCTL 0

Andi Kleen historical-speck 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1SMTCTL 1tools/smtctl/Makefile tools/smtctl/smtctl.c+267 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [MODERATED] [PATCH 0/1] SMTCTL 0

Here's an alternative proposal for SMT disabling.

I reimplemented my script as a C tool and put it into tools/*

# smtctl --enable
# smtctl --disable
# smtctl --print

Advantages:
- No kernel changes (although it would benefit from a minor one, see the commit)
- Much easier to use at runtime than opaque sysfs
- Encourages the right use model of only switching SMT state when it is actually needed and based on a conscious decision, not unnecessarily or globally.

Andi Kleen (1):
tools/smtctl: Add smtctl to enable/disable SMT at runtime

 tools/smtctl/Makefile |  10 ++
 tools/smtctl/smtctl.c | 257 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 267 insertions(+)
 create mode 100644 tools/smtctl/Makefile
 create mode 100644 tools/smtctl/smtctl.c
Signature · 1 line
2.14.3