* [PATCH] riscv: Kconfig: enable SCHED_MC kconfig
@ 2023-03-10 11:03 ` Song Shuai
0 siblings, 0 replies; 8+ messages in thread
From: Song Shuai @ 2023-03-10 11:03 UTC (permalink / raw)
To: paul.walmsley, palmer, aou, conor; +Cc: linux-riscv, linux-kernel, 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.
Signed-off-by: Song Shuai <suagrfillet@gmail.com>
---
arch/riscv/Kconfig | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index c5e42cc37604..5b9fdc1a619a 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -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
--
2.20.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH] riscv: Kconfig: enable SCHED_MC kconfig
@ 2023-03-10 11:03 ` Song Shuai
0 siblings, 0 replies; 8+ messages in thread
From: Song Shuai @ 2023-03-10 11:03 UTC (permalink / raw)
To: paul.walmsley, palmer, aou, conor; +Cc: linux-riscv, linux-kernel, 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.
Signed-off-by: Song Shuai <suagrfillet@gmail.com>
---
arch/riscv/Kconfig | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index c5e42cc37604..5b9fdc1a619a 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -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
--
2.20.1
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH] riscv: Kconfig: enable SCHED_MC kconfig
2023-03-10 11:03 ` Song Shuai
@ 2023-03-15 17:59 ` Conor Dooley
-1 siblings, 0 replies; 8+ messages in thread
From: Conor Dooley @ 2023-03-15 17:59 UTC (permalink / raw)
To: Song Shuai; +Cc: paul.walmsley, palmer, aou, linux-riscv, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1140 bytes --]
On Fri, Mar 10, 2023 at 07:03:36PM +0800, Song Shuai 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.
>
> Signed-off-by: Song Shuai <suagrfillet@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Thanks,
Conor.
> ---
> arch/riscv/Kconfig | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
> index c5e42cc37604..5b9fdc1a619a 100644
> --- a/arch/riscv/Kconfig
> +++ b/arch/riscv/Kconfig
> @@ -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
> --
> 2.20.1
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] riscv: Kconfig: enable SCHED_MC kconfig
@ 2023-03-15 17:59 ` Conor Dooley
0 siblings, 0 replies; 8+ messages in thread
From: Conor Dooley @ 2023-03-15 17:59 UTC (permalink / raw)
To: Song Shuai; +Cc: paul.walmsley, palmer, aou, linux-riscv, linux-kernel
[-- Attachment #1.1: Type: text/plain, Size: 1140 bytes --]
On Fri, Mar 10, 2023 at 07:03:36PM +0800, Song Shuai 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.
>
> Signed-off-by: Song Shuai <suagrfillet@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Thanks,
Conor.
> ---
> arch/riscv/Kconfig | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
> index c5e42cc37604..5b9fdc1a619a 100644
> --- a/arch/riscv/Kconfig
> +++ b/arch/riscv/Kconfig
> @@ -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
> --
> 2.20.1
>
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
[-- Attachment #2: Type: text/plain, Size: 161 bytes --]
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] riscv: Kconfig: enable SCHED_MC kconfig
2023-03-10 11:03 ` Song Shuai
@ 2023-04-19 14:22 ` Palmer Dabbelt
-1 siblings, 0 replies; 8+ messages in thread
From: Palmer Dabbelt @ 2023-04-19 14:22 UTC (permalink / raw)
To: Paul Walmsley, Palmer Dabbelt, aou, Conor Dooley, Song Shuai
Cc: linux-riscv, linux-kernel
On Fri, 10 Mar 2023 19:03:36 +0800, Song Shuai 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.
>
>
Applied, thanks!
[1/1] riscv: Kconfig: enable SCHED_MC kconfig
https://git.kernel.org/palmer/c/8bf7b3b66762
Best regards,
--
Palmer Dabbelt <palmer@rivosinc.com>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] riscv: Kconfig: enable SCHED_MC kconfig
@ 2023-04-19 14:22 ` Palmer Dabbelt
0 siblings, 0 replies; 8+ messages in thread
From: Palmer Dabbelt @ 2023-04-19 14:22 UTC (permalink / raw)
To: Paul Walmsley, Palmer Dabbelt, aou, Conor Dooley, Song Shuai
Cc: linux-riscv, linux-kernel
On Fri, 10 Mar 2023 19:03:36 +0800, Song Shuai 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.
>
>
Applied, thanks!
[1/1] riscv: Kconfig: enable SCHED_MC kconfig
https://git.kernel.org/palmer/c/8bf7b3b66762
Best regards,
--
Palmer Dabbelt <palmer@rivosinc.com>
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] riscv: Kconfig: enable SCHED_MC kconfig
2023-03-10 11:03 ` Song Shuai
@ 2023-04-19 14:30 ` patchwork-bot+linux-riscv
-1 siblings, 0 replies; 8+ messages in thread
From: patchwork-bot+linux-riscv @ 2023-04-19 14:30 UTC (permalink / raw)
To: Song Shuai; +Cc: linux-riscv, paul.walmsley, palmer, aou, conor, linux-kernel
Hello:
This patch was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer@rivosinc.com>:
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.
>
> Signed-off-by: Song Shuai <suagrfillet@gmail.com>
>
> [...]
Here is the summary with links:
- riscv: Kconfig: enable SCHED_MC kconfig
https://git.kernel.org/riscv/c/8bf7b3b66762
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] riscv: Kconfig: enable SCHED_MC kconfig
@ 2023-04-19 14:30 ` patchwork-bot+linux-riscv
0 siblings, 0 replies; 8+ messages in thread
From: patchwork-bot+linux-riscv @ 2023-04-19 14:30 UTC (permalink / raw)
To: Song Shuai; +Cc: linux-riscv, paul.walmsley, palmer, aou, conor, linux-kernel
Hello:
This patch was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer@rivosinc.com>:
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.
>
> Signed-off-by: Song Shuai <suagrfillet@gmail.com>
>
> [...]
Here is the summary with links:
- riscv: Kconfig: enable SCHED_MC kconfig
https://git.kernel.org/riscv/c/8bf7b3b66762
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2023-04-19 14:30 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-10 11:03 [PATCH] riscv: Kconfig: enable SCHED_MC kconfig Song Shuai
2023-03-10 11:03 ` Song Shuai
2023-03-15 17:59 ` Conor Dooley
2023-03-15 17:59 ` Conor Dooley
2023-04-19 14:22 ` Palmer Dabbelt
2023-04-19 14:22 ` Palmer Dabbelt
2023-04-19 14:30 ` patchwork-bot+linux-riscv
2023-04-19 14:30 ` patchwork-bot+linux-riscv
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.