From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: speck@linutronix.de
Subject: [MODERATED] Re: [patch V3 05/12] cpu/hotplug: Provide knobs to control SMT
Date: Fri, 15 Jun 2018 15:14:30 -0400 [thread overview]
Message-ID: <20180615191430.GL13695@char.us.oracle.com> (raw)
In-Reply-To: <20180615162947.853265505@linutronix.de>
On Fri, Jun 15, 2018 at 06:28:06PM +0200, speck for Thomas Gleixner wrote:
> Subject: [patch V3 05/12] cpu/hotplug: Provide knobs to control SMT
> From: Thomas Gleixner <tglx@linutronix.de>
>
> Provide a command line and a sysfs knob to control SMT.
>
> The command line options are:
>
> 'nosmt': Enumerate secondary threads, but do not online them
>
> 'nosmt=force': Ignore secondary threads completely during enumeration
> via MP table and ACPI/MADT.
>
> The sysfs control file has the following states (read/write):
>
> 'on': SMT is enabled. Secondary threads can be freely onlined
> 'off': SMT is disabled. Secondary threads, even if enumerated
> cannot be onlined
> 'forceoff': SMT is permanentely disabled. Writes to the control
> file are rejected.
>
> The command line option 'nosmt' sets the sysfs control to 'off'. This
> can be changed to 'on' to reenable SMT during runtime.
>
> The command line option 'nosmt=force' sets the sysfs control to
> 'forceoff'. This cannot be changed during runtime.
>
> When SMT is 'on' and the control file is changed to 'off' then all online
> secondary threads are offlined and attempts to online a secondary thread
> later are rejected.
s/later are/later on are/
With this change or not:
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thank you!
next prev parent reply other threads:[~2018-06-15 19:14 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-15 16:28 [patch V3 00/12] SMT control knobs Thomas Gleixner
2018-06-15 16:28 ` [patch V3 01/12] sched/smt: Update sched_smt_present at runtime Thomas Gleixner
2018-06-15 19:02 ` [MODERATED] " Konrad Rzeszutek Wilk
2018-06-15 16:28 ` [patch V3 02/12] x86/smp: Provide topology_is_primary_thread() Thomas Gleixner
2018-06-15 16:28 ` [patch V3 03/12] cpu/hotplug: Make bringup/teardown of smp threads symmetric Thomas Gleixner
2018-06-15 19:03 ` [MODERATED] " Konrad Rzeszutek Wilk
2018-06-15 16:28 ` [patch V3 04/12] cpu/hotplug: Split do_cpu_down() Thomas Gleixner
2018-06-15 16:28 ` [patch V3 05/12] cpu/hotplug: Provide knobs to control SMT Thomas Gleixner
2018-06-15 19:14 ` Konrad Rzeszutek Wilk [this message]
2018-06-16 14:05 ` [MODERATED] " Borislav Petkov
2018-06-15 16:28 ` [patch V3 06/12] x86/cpu: Remove the pointless CPU printout Thomas Gleixner
2018-06-15 16:28 ` [patch V3 07/12] x86/cpu/AMD: Remove the pointless detect_ht() call Thomas Gleixner
2018-06-15 16:28 ` [patch V3 08/12] x86/cpu/common: Provide detect_ht_early() Thomas Gleixner
2018-06-15 16:28 ` [patch V3 09/12] x86/cpu/topology: Provide detect_extended_topology_early() Thomas Gleixner
2018-06-15 16:28 ` [patch V3 10/12] x86/cpu/intel: Evaluate smp_num_siblings early Thomas Gleixner
2018-06-15 19:16 ` [MODERATED] " Konrad Rzeszutek Wilk
2018-06-15 16:28 ` [patch V3 11/12] x86/cpu/AMD: " Thomas Gleixner
2018-06-15 17:04 ` [MODERATED] " Andrew Cooper
2018-06-15 17:30 ` Thomas Gleixner
2018-06-15 17:47 ` [MODERATED] Re: " Borislav Petkov
2018-06-15 19:02 ` Borislav Petkov
2018-06-17 9:51 ` Borislav Petkov
2018-06-15 16:28 ` [patch V3 12/12] x86/apic: Ignore secondary threads if nosmt=force Thomas Gleixner
2018-06-15 22:22 ` [MODERATED] " Andi Kleen
2018-06-18 9:42 ` Peter Zijlstra
2018-06-20 5:03 ` [MODERATED] Re: [patch V3 00/12] SMT control knobs Jiri Kosina
2018-06-20 13:30 ` Konrad Rzeszutek Wilk
2018-06-20 16:04 ` Thomas Gleixner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180615191430.GL13695@char.us.oracle.com \
--to=konrad.wilk@oracle.com \
--cc=speck@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.