Skip to contentSkip to conversation

config SCHED_CORE

PATCH Applied Hugh Dickins 5 participants 14 messages May 21, 2021 – Jun 1, 2021

lore
Share & tools
lore
#0 lore raw

Hi Peter,

make oldconfig gave me no help at all on how to decide whether to choose SCHED_CORE Y or n, beyond it recommending Y. Maybe you'll delete that option later, or maybe removing the prompt string would silence it.

I decided that I probably need kernel/sched/core.o, so chose Y :)

Hugh

#1 lore raw
Quoted 5 lines · Hugh Dickins

Hi Peter,

make oldconfig gave me no help at all on how to decide whether to choose SCHED_CORE Y or n, beyond it recommending Y. Maybe you'll delete that option later, or maybe removing the prompt string would silence it.

Ah, you're quite right. I never seem to have gotten around to actually writing anything useful there :/ Similarly the documentation for all this seems to have gone missing too.

Joel, could I ask you to refresh the document to match the current state of things and repost? I still whole hartedly despise this RST crud, it makes it so hard to read / modify the files.

( I think the latest version is here:
https://lkml.kernel.org/r/[email protected]
)

Anyway, how is something like the below, Joel can add a reference to the document once it's there.

---
 kernel/Kconfig.preempt | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
kernel/Kconfig.preempt +13 -1
index ea1e3331c0ba..3c4566cd20ef 100644
@@ -104,4 +104,16 @@ config SCHED_CORE
 	bool "Core Scheduling for SMT"
 	default y
 	depends on SCHED_SMT
-
+	help
+	  This option enables Core scheduling, a means of coordinated task
+	  selection across SMT siblings with the express purpose of creating a
+	  Core wide privilidge boundary. When enabled -- see prctl(PR_SCHED_CORE)
+	  -- task selection will ensure all SMT siblings will execute a task
+	  from the same 'core group', forcing idle when no matching task is found.
+
+	  This provides means of mitigation against a number of SMT side-channels;
+	  but is, on its own, insufficient to mitigate all known side-channels.
+	  Notable: the MDS class of attacks require more.
+
+	  Default enabled for anything that has SCHED_SMT, when unused there should
+	  be no impact on performance.
#2 lore raw
Quoted 16 lines · Peter Zijlstra
Quoted 5 lines · Hugh Dickins

Hi Peter,

make oldconfig gave me no help at all on how to decide whether to choose SCHED_CORE Y or n, beyond it recommending Y. Maybe you'll delete that option later, or maybe removing the prompt string would silence it.

Ah, you're quite right. I never seem to have gotten around to actually writing anything useful there :/ Similarly the documentation for all this seems to have gone missing too.

Joel, could I ask you to refresh the document to match the current state of things and repost? I still whole hartedly despise this RST crud, it makes it so hard to read / modify the files.

Quoted 6 lines

( I think the latest version is here:
https://lkml.kernel.org/r/[email protected]
)

Anyway, how is something like the below, Joel can add a reference to the document once it's there.

Sure thing, Peter! I will work on it and post a patch.

- Joel

Quoted 27 lines
---
 kernel/Kconfig.preempt | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
kernel/Kconfig.preempt +13 -1
index ea1e3331c0ba..3c4566cd20ef 100644
@@ -104,4 +104,16 @@ config SCHED_CORE
        bool "Core Scheduling for SMT"
        default y
        depends on SCHED_SMT
-
+       help
+         This option enables Core scheduling, a means of coordinated task
+         selection across SMT siblings with the express purpose of creating a
+         Core wide privilidge boundary. When enabled -- see prctl(PR_SCHED_CORE)
+         -- task selection will ensure all SMT siblings will execute a task
+         from the same 'core group', forcing idle when no matching task is found.
+
+         This provides means of mitigation against a number of SMT side-channels;
+         but is, on its own, insufficient to mitigate all known side-channels.
+         Notable: the MDS class of attacks require more.
+
+         Default enabled for anything that has SCHED_SMT, when unused there should
+         be no impact on performance.
#3 lore raw
In reply to Peter Zijlstra
Quoted 39 lines · Peter Zijlstra
Quoted 5 lines · Hugh Dickins

Hi Peter,

make oldconfig gave me no help at all on how to decide whether to choose SCHED_CORE Y or n, beyond it recommending Y. Maybe you'll delete that option later, or maybe removing the prompt string would silence it.

Ah, you're quite right. I never seem to have gotten around to actually writing anything useful there :/ Similarly the documentation for all this seems to have gone missing too.

Joel, could I ask you to refresh the document to match the current state of things and repost? I still whole hartedly despise this RST crud, it makes it so hard to read / modify the files.

( I think the latest version is here:
https://lkml.kernel.org/r/[email protected]
)

Anyway, how is something like the below, Joel can add a reference to the document once it's there.

---
 kernel/Kconfig.preempt | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
kernel/Kconfig.preempt +3 -1
index ea1e3331c0ba..3c4566cd20ef 100644
@@ -104,4 +104,16 @@ config SCHED_CORE
        bool "Core Scheduling for SMT"
        default y
        depends on SCHED_SMT
-
+       help
+         This option enables Core scheduling, a means of coordinated task
+         selection across SMT siblings with the express purpose of creating a

kernel/Kconfig.preempt config SCHED_CORE · line 119

Quoted 10 lines
kernel/Kconfig.preempt +10 -0
+         Core wide privilidge boundary. When enabled -- see prctl(PR_SCHED_CORE)
+         -- task selection will ensure all SMT siblings will execute a task
+         from the same 'core group', forcing idle when no matching task is found.
+
+         This provides means of mitigation against a number of SMT side-channels;
+         but is, on its own, insufficient to mitigate all known side-channels.
+         Notable: the MDS class of attacks require more.
+
+         Default enabled for anything that has SCHED_SMT, when unused there should
+         be no impact on performance.

This description sort of makes it sound like security is the only usecase. Perhaps we can also add here that core-scheduling can help performance of workloads where hyperthreading is undesired, such as when VM providers don't want to share hyperthreads.

Thoughts?

#4 lore raw
Quoted 32 lines · Joel Fernandes
Quoted 16 lines
---
 kernel/Kconfig.preempt | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
kernel/Kconfig.preempt +3 -1
index ea1e3331c0ba..3c4566cd20ef 100644
@@ -104,4 +104,16 @@ config SCHED_CORE
        bool "Core Scheduling for SMT"
        default y
        depends on SCHED_SMT
-
+       help
+         This option enables Core scheduling, a means of coordinated task
+         selection across SMT siblings with the express purpose of creating a

kernel/Kconfig.preempt config SCHED_CORE · line 119

Quoted 10 lines
kernel/Kconfig.preempt +10 -0
+         Core wide privilidge boundary. When enabled -- see prctl(PR_SCHED_CORE)
+         -- task selection will ensure all SMT siblings will execute a task
+         from the same 'core group', forcing idle when no matching task is found.
+
+         This provides means of mitigation against a number of SMT side-channels;
+         but is, on its own, insufficient to mitigate all known side-channels.
+         Notable: the MDS class of attacks require more.
+
+         Default enabled for anything that has SCHED_SMT, when unused there should
+         be no impact on performance.

This description sort of makes it sound like security is the only usecase. Perhaps we can also add here that core-scheduling can help performance of workloads where hyperthreading is undesired, such as when VM providers don't want to share hyperthreads.

Quoted 1 line

Thoughts?

You're right. And there's this whole class of people who want to use this to eliminate SMT interference. I'll see if I can work that in without turning the whole thing into a novella or so ;-/

#5 lore raw
Quoted 35 lines · Peter Zijlstra
Quoted 32 lines · Joel Fernandes
Quoted 16 lines
---
 kernel/Kconfig.preempt | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
kernel/Kconfig.preempt +3 -1
index ea1e3331c0ba..3c4566cd20ef 100644
@@ -104,4 +104,16 @@ config SCHED_CORE
        bool "Core Scheduling for SMT"
        default y
        depends on SCHED_SMT
-
+       help
+         This option enables Core scheduling, a means of coordinated task
+         selection across SMT siblings with the express purpose of creating a

kernel/Kconfig.preempt config SCHED_CORE · line 119

Quoted 10 lines
kernel/Kconfig.preempt +10 -0
+         Core wide privilidge boundary. When enabled -- see prctl(PR_SCHED_CORE)
+         -- task selection will ensure all SMT siblings will execute a task
+         from the same 'core group', forcing idle when no matching task is found.
+
+         This provides means of mitigation against a number of SMT side-channels;
+         but is, on its own, insufficient to mitigate all known side-channels.
+         Notable: the MDS class of attacks require more.
+
+         Default enabled for anything that has SCHED_SMT, when unused there should
+         be no impact on performance.

This description sort of makes it sound like security is the only usecase. Perhaps we can also add here that core-scheduling can help performance of workloads where hyperthreading is undesired, such as when VM providers don't want to share hyperthreads.

Quoted 4 lines
Quoted 1 line

Thoughts?

You're right. And there's this whole class of people who want to use this to eliminate SMT interference.

That's good, even more core scheduling users ;-)

Quoted 2 lines

I'll see if I can work that in
without turning the whole thing into a novella or so ;-/

Your patch looked good to me (delta Randy/Hugh's comments). I still owe you the documentation patch refresh, I'll send it out soon. Thanks,

- Joel

#6 lore raw
In reply to Joel Fernandes
Quoted 11 lines · Joel Fernandes
Quoted 10 lines · Peter Zijlstra
(quoted diff) +10 -0
+       help
+         This option enables Core scheduling, a means of coordinated task
+         selection across SMT siblings with the express purpose of creating a
+         Core wide privilidge boundary. When enabled -- see prctl(PR_SCHED_CORE)
+         -- task selection will ensure all SMT siblings will execute a task
+         from the same 'core group', forcing idle when no matching task is found.
+
+         This provides means of mitigation against a number of SMT side-channels;
+         but is, on its own, insufficient to mitigate all known side-channels.
+         Notable: the MDS class of attacks require more.
Quoted 8 lines

Review

Quoted 3 lines
(quoted diff) +3 -0
+
+         Default enabled for anything that has SCHED_SMT, when unused there should
+         be no impact on performance.

This description sort of makes it sound like security is the only usecase. Perhaps we can also add here that core-scheduling can help performance of workloads where hyperthreading is undesired, such as when VM providers don't want to share hyperthreads.

Something like so then?

---
 kernel/Kconfig.preempt | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
kernel/Kconfig.preempt +14 -0
index ea1e3331c0ba..cd497fecfd43 100644
@@ -104,4 +104,18 @@ config SCHED_CORE
 	bool "Core Scheduling for SMT"
 	default y
 	depends on SCHED_SMT
+	help
+	  This option enables Core scheduling, a means of coordinated task
+	  selection across SMT siblings. When enabled -- see
+	  prctl(PR_SCHED_CORE) -- task selection will ensure all SMT siblings
+	  will execute a task from the same 'core group', forcing idle when no
+	  matching task is found.
+
+	  Use of this feature includes:
+	   - mitigation of some (not all) SMT side channels;
+	   - limiting SMT interference to improve determinism and/or performance.
+
+	  Default enabled for anything that has SCHED_SMT, when unused there
+	  should be no impact on performance.
+
 
#7 lore raw
Quoted 21 lines · Peter Zijlstra
Quoted 11 lines · Joel Fernandes
Quoted 10 lines · Peter Zijlstra
(quoted diff) +10 -0
+       help
+         This option enables Core scheduling, a means of coordinated task
+         selection across SMT siblings with the express purpose of creating a
+         Core wide privilidge boundary. When enabled -- see prctl(PR_SCHED_CORE)
+         -- task selection will ensure all SMT siblings will execute a task
+         from the same 'core group', forcing idle when no matching task is found.
+
+         This provides means of mitigation against a number of SMT side-channels;
+         but is, on its own, insufficient to mitigate all known side-channels.
+         Notable: the MDS class of attacks require more.
Quoted 8 lines

Review

Quoted 3 lines
(quoted diff) +3 -0
+
+         Default enabled for anything that has SCHED_SMT, when unused there should
+         be no impact on performance.

This description sort of makes it sound like security is the only usecase. Perhaps we can also add here that core-scheduling can help performance of workloads where hyperthreading is undesired, such as when VM providers don't want to share hyperthreads.

Quoted 1 line

Something like so then?

Much more helpful, thanks. And I agree that you have to keep it fairly brief here: I think you've struck the right balance. Some nits below.

Quoted 10 lines
---
 kernel/Kconfig.preempt | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
kernel/Kconfig.preempt +0 -0
index ea1e3331c0ba..cd497fecfd43 100644

kernel/Kconfig.preempt config SCHED_CORE · line 108

Quoted 5 lines
kernel/Kconfig.preempt +2 -0
@@ -104,4 +104,18 @@ config SCHED_CORE
 	bool "Core Scheduling for SMT"
 	default y
 	depends on SCHED_SMT
+	help
+	  This option enables Core scheduling, a means of coordinated task

Maybe s/scheduling/Scheduling/ to match the title?

I think I got the picture once I reached the end, but was confused here by the stages of enablement. s/This option enables/This option permits/ would be clearer, I think.

kernel/Kconfig.preempt config SCHED_CORE · line 110

Quoted 2 lines
kernel/Kconfig.preempt +2 -0
+	  selection across SMT siblings. When enabled -- see
+	  prctl(PR_SCHED_CORE) -- task selection will ensure all SMT siblings

s/will ensure/ensures that/ (it felt like too many "will"s before)

kernel/Kconfig.preempt config SCHED_CORE · line 118

Quoted 8 lines
kernel/Kconfig.preempt +8 -0
+	  will execute a task from the same 'core group', forcing idle when no
+	  matching task is found.
+
+	  Use of this feature includes:
+	   - mitigation of some (not all) SMT side channels;
+	   - limiting SMT interference to improve determinism and/or performance.
+
+	  Default enabled for anything that has SCHED_SMT, when unused there

"SCHED_CORE is default enabled when SCHED_SMT is enabled - when unused there" would be better.

kernel/Kconfig.preempt config SCHED_CORE · line 120

Quoted 2 lines
kernel/Kconfig.preempt +2 -0
+	  should be no impact on performance.
+

Thanks,
Hugh

#8 lore raw
Quoted 45 lines · Hugh Dickins
Quoted 21 lines · Peter Zijlstra
Quoted 11 lines · Joel Fernandes
Quoted 10 lines · Peter Zijlstra
(quoted diff) +10 -0
+       help
+         This option enables Core scheduling, a means of coordinated task
+         selection across SMT siblings with the express purpose of creating a
+         Core wide privilidge boundary. When enabled -- see prctl(PR_SCHED_CORE)
+         -- task selection will ensure all SMT siblings will execute a task
+         from the same 'core group', forcing idle when no matching task is found.
+
+         This provides means of mitigation against a number of SMT side-channels;
+         but is, on its own, insufficient to mitigate all known side-channels.
+         Notable: the MDS class of attacks require more.
Quoted 8 lines

Review

Quoted 3 lines
(quoted diff) +3 -0
+
+         Default enabled for anything that has SCHED_SMT, when unused there should
+         be no impact on performance.

This description sort of makes it sound like security is the only usecase. Perhaps we can also add here that core-scheduling can help performance of workloads where hyperthreading is undesired, such as when VM providers don't want to share hyperthreads.

Quoted 1 line

Something like so then?

Much more helpful, thanks. And I agree that you have to keep it fairly brief here: I think you've struck the right balance. Some nits below.

Quoted 10 lines
---
 kernel/Kconfig.preempt | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
kernel/Kconfig.preempt +0 -0
index ea1e3331c0ba..cd497fecfd43 100644

kernel/Kconfig.preempt config SCHED_CORE · line 108

Quoted 5 lines
kernel/Kconfig.preempt +2 -0
@@ -104,4 +104,18 @@ config SCHED_CORE
 	bool "Core Scheduling for SMT"
 	default y
 	depends on SCHED_SMT
+	help
+	  This option enables Core scheduling, a means of coordinated task

Maybe s/scheduling/Scheduling/ to match the title?

Quoted 4 lines

I think I got the picture once I reached the end, but was confused here by the stages of enablement. s/This option enables/This option permits/ would be clearer, I think.

I like all of Hugh's suggestions...

Quoted 5 lines

kernel/Kconfig.preempt config SCHED_CORE · line 110

Quoted 3 lines
kernel/Kconfig.preempt +2 -0
+	  selection across SMT siblings. When enabled -- see
+	  prctl(PR_SCHED_CORE) -- task selection will ensure all SMT siblings

s/will ensure/ensures that/ (it felt like too many "will"s before)

especially that one. ^^^

Quoted 12 lines

kernel/Kconfig.preempt config SCHED_CORE · line 118

Quoted 8 lines
kernel/Kconfig.preempt +8 -0
+	  will execute a task from the same 'core group', forcing idle when no
+	  matching task is found.
+
+	  Use of this feature includes:
+	   - mitigation of some (not all) SMT side channels;
+	   - limiting SMT interference to improve determinism and/or performance.
+
+	  Default enabled for anything that has SCHED_SMT, when unused there

"SCHED_CORE is default enabled when SCHED_SMT is enabled - when unused there" would be better.

Quoted 1 line

kernel/Kconfig.preempt config SCHED_CORE · line 119

Quoted 1 line
kernel/Kconfig.preempt +1 -0
+	  should be no impact on performance.

thanks.

Signature · 1 line
~Randy
#9 lore raw
In reply to Peter Zijlstra
Quoted 31 lines · Peter Zijlstra
Quoted 5 lines · Hugh Dickins

Hi Peter,

make oldconfig gave me no help at all on how to decide whether to choose SCHED_CORE Y or n, beyond it recommending Y. Maybe you'll delete that option later, or maybe removing the prompt string would silence it.

Ah, you're quite right. I never seem to have gotten around to actually writing anything useful there :/ Similarly the documentation for all this seems to have gone missing too.

Joel, could I ask you to refresh the document to match the current state of things and repost? I still whole hartedly despise this RST crud, it makes it so hard to read / modify the files.

( I think the latest version is here:
https://lkml.kernel.org/r/[email protected]
)

Anyway, how is something like the below, Joel can add a reference to the document once it's there.

---
 kernel/Kconfig.preempt | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)
kernel/Kconfig.preempt +0 -0
index ea1e3331c0ba..3c4566cd20ef 100644

kernel/Kconfig.preempt config SCHED_CORE · line 110

Quoted 8 lines
kernel/Kconfig.preempt +4 -1
@@ -104,4 +104,16 @@ config SCHED_CORE
 	bool "Core Scheduling for SMT"
 	default y
 	depends on SCHED_SMT
-
+	help
+	  This option enables Core scheduling, a means of coordinated task
+	  selection across SMT siblings with the express purpose of creating a
+	  Core wide privilidge boundary. When enabled -- see prctl(PR_SCHED_CORE)

privilege
while you are at it.

Quoted 10 lines
kernel/Kconfig.preempt +9 -0
+	  -- task selection will ensure all SMT siblings will execute a task
+	  from the same 'core group', forcing idle when no matching task is found.
+
+	  This provides means of mitigation against a number of SMT side-channels;
+	  but is, on its own, insufficient to mitigate all known side-channels.
+	  Notable: the MDS class of attacks require more.
+
+	  Default enabled for anything that has SCHED_SMT, when unused there should
+	  be no impact on performance.
Signature · 1 line
~Randy
#10 lore raw

PATCH 1/1 sched: Add CONFIG_SCHED_CORE help text

In reply to Hugh Dickins

Subject: sched: Add CONFIG_SCHED_CORE help text
From: Peter Zijlstra <[email protected]>
Date: Tue May 25 08:53:28 CEST 2021

Hugh noted that the SCHED_CORE Kconfig option could do with a help text.

---
 kernel/Kconfig.preempt |   14 ++++++++++++++
 1 file changed, 14 insertions(+)
kernel/Kconfig.preempt +14 -0
@@ -104,4 +104,18 @@ config SCHED_CORE
 	bool "Core Scheduling for SMT"
 	default y
 	depends on SCHED_SMT
+	help
+	  This option permits Core Scheduling, a means of coordinated task
+	  selection across SMT siblings. When enabled -- see
+	  prctl(PR_SCHED_CORE) -- task selection ensures that all SMT siblings
+	  will execute a task from the same 'core group', forcing idle when no
+	  matching task is found.
+
+	  Use of this feature includes:
+	   - mitigation of some (not all) SMT side channels;
+	   - limiting SMT interference to improve determinism and/or performance.
+
+	  SCHED_CORE is default enabled when SCHED_SMT is enabled -- when
+	  unused there should be no impact on performance.
+
 
Reviewed-by on v1 1/1
#11 lore raw

Re: [PATCH] sched: Add CONFIG_SCHED_CORE help text

Quoted 9 lines · Peter Zijlstra

Subject: sched: Add CONFIG_SCHED_CORE help text
From: Peter Zijlstra <[email protected]>
Date: Tue May 25 08:53:28 CEST 2021

Hugh noted that the SCHED_CORE Kconfig option could do with a help text.

Thanks.

Quoted 26 lines
---
 kernel/Kconfig.preempt |   14 ++++++++++++++
 1 file changed, 14 insertions(+)
kernel/Kconfig.preempt +14 -0
@@ -104,4 +104,18 @@ config SCHED_CORE
 	bool "Core Scheduling for SMT"
 	default y
 	depends on SCHED_SMT
+	help
+	  This option permits Core Scheduling, a means of coordinated task
+	  selection across SMT siblings. When enabled -- see
+	  prctl(PR_SCHED_CORE) -- task selection ensures that all SMT siblings
+	  will execute a task from the same 'core group', forcing idle when no
+	  matching task is found.
+
+	  Use of this feature includes:
+	   - mitigation of some (not all) SMT side channels;
+	   - limiting SMT interference to improve determinism and/or performance.
+
+	  SCHED_CORE is default enabled when SCHED_SMT is enabled -- when
+	  unused there should be no impact on performance.
+
 
Signature · 1 line
~Randy
author Acked-by on v1 1/1
#12 lore raw

Re: [PATCH] sched: Add CONFIG_SCHED_CORE help text

In reply to Peter Zijlstra
Quoted 9 lines · Peter Zijlstra

Subject: sched: Add CONFIG_SCHED_CORE help text
From: Peter Zijlstra <[email protected]>
Date: Tue May 25 08:53:28 CEST 2021

Hugh noted that the SCHED_CORE Kconfig option could do with a help text.

Thanks,

if necessary (but there's more than enough of me there already).

Quoted 24 lines
---
 kernel/Kconfig.preempt |   14 ++++++++++++++
 1 file changed, 14 insertions(+)
kernel/Kconfig.preempt +14 -0
@@ -104,4 +104,18 @@ config SCHED_CORE
 	bool "Core Scheduling for SMT"
 	default y
 	depends on SCHED_SMT
+	help
+	  This option permits Core Scheduling, a means of coordinated task
+	  selection across SMT siblings. When enabled -- see
+	  prctl(PR_SCHED_CORE) -- task selection ensures that all SMT siblings
+	  will execute a task from the same 'core group', forcing idle when no
+	  matching task is found.
+
+	  Use of this feature includes:
+	   - mitigation of some (not all) SMT side channels;
+	   - limiting SMT interference to improve determinism and/or performance.
+
+	  SCHED_CORE is default enabled when SCHED_SMT is enabled -- when
+	  unused there should be no impact on performance.
+
merge bot Applied
#13 lore raw

[tip: sched/core] sched: Add CONFIG_SCHED_CORE help text

In reply to Peter Zijlstra
The following commit has been merged into the sched/core branch of tip:

The following commit has been merged into the sched/core branch of tip:

Commit-ID:     7b419f47facd286c6723daca6ad69ec355473f78
Gitweb:        https://git.kernel.org/tip/7b419f47facd286c6723daca6ad69ec355473f78
Author:        Peter Zijlstra <[email protected]>
AuthorDate:    Tue, 25 May 2021 08:53:28 +02:00
Committer:     Peter Zijlstra <[email protected]>
CommitterDate: Tue, 01 Jun 2021 16:00:10 +02:00

sched: Add CONFIG_SCHED_CORE help text

Hugh noted that the SCHED_CORE Kconfig option could do with a help text.

---
 kernel/Kconfig.preempt | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
kernel/Kconfig.preempt +14 -0
index ea1e333..bd7c414 100644
@@ -104,4 +104,18 @@ config SCHED_CORE
 	bool "Core Scheduling for SMT"
 	default y
 	depends on SCHED_SMT
+	help
+	  This option permits Core Scheduling, a means of coordinated task
+	  selection across SMT siblings. When enabled -- see
+	  prctl(PR_SCHED_CORE) -- task selection ensures that all SMT siblings
+	  will execute a task from the same 'core group', forcing idle when no
+	  matching task is found.
+
+	  Use of this feature includes:
+	   - mitigation of some (not all) SMT side channels;
+	   - limiting SMT interference to improve determinism and/or performance.
+
+	  SCHED_CORE is default enabled when SCHED_SMT is enabled -- when
+	  unused there should be no impact on performance.
+