Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1379085

Re: [PATCH] arm64: Kconfig: make SCHED_MC and SCHED_SMT depend on SMP

From "Shi, Yang" <yang.shi@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] arm64: Kconfig: make SCHED_MC and SCHED_SMT depend on SMP
Date 2016-04-14 18:40 +0200
Message-ID <rnStc-4TB-15@gated-at.bofh.it> (permalink)
References <rnE6S-1XS-5@gated-at.bofh.it> <rnL8l-7nM-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 4/14/2016 1:47 AM, Will Deacon wrote:
> On Wed, Apr 13, 2016 at 05:54:12PM -0700, Yang Shi wrote:
>> SCHED_MC and SCHED_SMT are pointless when SMP is disabled.
>> Although SMP is rarely disabled for ARM64, it looks more consistent to have
>> such depend in Kconfig.
>
> You can't disable CONFIG_SMP for arm64 -- we select it unconditionally
> in the kconfig.

Thanks Will. I didn't realize ARM64 has SMP selected unconditionally, it 
looks the patch is pointless.

A follow-up question, I know ARM64 has no UP implementation now, it 
sounds make sense to have SMP select unconditionally, however, it might 
be more flexible to have SMP like x86 and other architectures. And, it 
may also help to find more bugs when !SMP.

Thanks,
Yang

>
> Will
>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] arm64: Kconfig: make SCHED_MC and SCHED_SMT depend on SMP Yang Shi <yang.shi@linaro.org> - 2016-04-14 03:20 +0200
  Re: [PATCH] arm64: Kconfig: make SCHED_MC and SCHED_SMT depend on SMP Will Deacon <will.deacon@arm.com> - 2016-04-14 10:50 +0200
    Re: [PATCH] arm64: Kconfig: make SCHED_MC and SCHED_SMT depend on SMP Will Deacon <will.deacon@arm.com> - 2016-04-14 18:40 +0200
    Re: [PATCH] arm64: Kconfig: make SCHED_MC and SCHED_SMT depend on SMP "Shi, Yang" <yang.shi@linaro.org> - 2016-04-14 18:40 +0200

csiph-web