SMTCTL 0
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | SMTCTL 1tools/ tools/ | +267 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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