Skip to contentSkip to conversation

riscv: Kconfig: enable SCHED_MC kconfig

PATCH Applied Song Shuai 4 participants 4 messages Mar 10, 2023 – Apr 19, 2023 RISC-V

lore
Share & tools
lore

Song Shuai

author
#0 lore raw

PATCH 1/1 riscv: Kconfig: enable SCHED_MC kconfig

RISC-V now builds the sched domain based on the simple possible map.

Enable SCHED_MC to make the building based on cpu_coregroup_mask() which also takes care of the NUMA and cores with LLC.

---
 arch/riscv/Kconfig | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/riscv/Kconfig +8 -0
index c5e42cc37604..5b9fdc1a619a 100644
@@ -320,6 +320,14 @@ config SMP
 
 	  If you don't know what to do here, say N.
 
+config SCHED_MC
+	bool "Multi-core scheduler support"
+	depends on SMP
+	help
+	  Multi-core scheduler support improves the CPU scheduler's decision
+	  making when dealing with multi-core CPU chips at a cost of slightly
+	  increased overhead in some places. If unsure say N here.
+
 config NR_CPUS
 	int "Maximum number of CPUs (2-512)"
 	depends on SMP
Signature · 1 line
2.20.1
Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Song Shuai

RISC-V now builds the sched domain based on the simple possible map.

Enable SCHED_MC to make the building based on cpu_coregroup_mask() which also takes care of the NUMA and cores with LLC.

Thanks,
Conor.

Quoted 26 lines
---
 arch/riscv/Kconfig | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/riscv/Kconfig +8 -0
index c5e42cc37604..5b9fdc1a619a 100644
@@ -320,6 +320,14 @@ config SMP
 
 	  If you don't know what to do here, say N.
 
+config SCHED_MC
+	bool "Multi-core scheduler support"
+	depends on SMP
+	help
+	  Multi-core scheduler support improves the CPU scheduler's decision
+	  making when dealing with multi-core CPU chips at a cost of slightly
+	  increased overhead in some places. If unsure say N here.
+
 config NR_CPUS
 	int "Maximum number of CPUs (2-512)"
 	depends on SMP
Signature · 1 line
2.20.1

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv

#2 lore raw
In reply to Song Shuai
Quoted 6 lines · Song Shuai

RISC-V now builds the sched domain based on the simple possible map.

Enable SCHED_MC to make the building based on cpu_coregroup_mask() which also takes care of the NUMA and cores with LLC.

Applied, thanks!

[1/1] riscv: Kconfig: enable SCHED_MC kconfig

      https://git.kernel.org/palmer/c/8bf7b3b66762

Best regards,

Signature · 7 lines
Palmer Dabbelt <[email protected]>


_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
#3 lore raw
In reply to Song Shuai
This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt <[email protected]>:

Hello:

This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt <[email protected]>:

Quoted 8 lines · On Fri, 10 Mar 2023 19:03:36 +0800 you wrote:

RISC-V now builds the sched domain based on the simple possible map.

Enable SCHED_MC to make the building based on cpu_coregroup_mask() which also takes care of the NUMA and cores with LLC.

[...]

Here is the summary with links:
- riscv: Kconfig: enable SCHED_MC kconfig

    https://git.kernel.org/riscv/c/8bf7b3b66762

You are awesome, thank you!

Signature · 9 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv