lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 05 Oct 2021 14:42:17 +0100
From:   Valentin Schneider <>
To:     Peter Zijlstra <>,
        Tim Chen <>
Cc:     Vincent Guittot <>,
        Barry Song <>,
        Dietmar Eggemann <>,
        LKML <>,
        Ingo Molnar <>,
        Aubrey Li <>,
        Borislav Petkov <>,
        Daniel Bristot de Oliveira <>,
        Ben Segall <>,
        Catalin Marinas <>,
        Greg Kroah-Hartman <>,
        Guodong Xu <>,
        "H. Peter Anvin" <>,
        Jonathan Cameron <>,
        Juri Lelli <>,
        "Cc\: Len Brown" <>,
        ACPI Devel Maling List <>,
        LAK <>,
        Linuxarm <>,
        Mark Rutland <>,
        Mel Gorman <>,,
        "Zengtao \(B\)" <>,
        "Rafael J. Wysocki" <>,
        Steven Rostedt <>,
        Barry Song <>,
        Sudeep Holla <>,
        Thomas Gleixner <>,
        "Rafael J. Wysocki" <>,
        Will Deacon <>, x86 <>,
        yangyicong <>
Subject: Re: [PATCH RESEND 0/3] Represent cluster topology and enable load balance between clusters

On 05/10/21 09:50, Peter Zijlstra wrote:
> On Fri, Oct 01, 2021 at 04:22:46PM -0700, Tim Chen wrote:
>> On Fri, 2021-10-01 at 16:57 +0200, Peter Zijlstra wrote:
>> > The one questino I have is, do we want default y?
>> I also agree that default y is preferable.
> I'll change at least the x86 one to:
>       default y
>       depends on SMP

Huh, so the arm64 SCHED_{SMT,MC} configs are defaultless (I added SCHED_SMT
to arm64's defconfig not so long ago), but x86 has them default y, which
I'm thinking is a tad better, and would be nice to harmonize. Unfortunately
different architectures have their own dependency requirements - arm has

Would you hate making SCHED_* a "generic" config, with a common default and
help text, and punt the arch specific stuff to an ARCH_SUPPORTS_* knob?

Something like:


  config SCHED_MC
    def_bool y
    depends on ARCH_SUPPORTS_SCHED_MC && SMP

Powered by blists - more mailing lists