lkml.org 
[lkml]   [2012]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] mm: add config NUMA stub to all architectures
    Stephen Rothwell wrote:
    > Hi Konstantin,
    >
    > On Fri, 17 Feb 2012 16:08:15 +0400 Konstantin Khlebnikov<khlebnikov@openvz.org> wrote:
    >>
    >> Config NUMA must be defined for all architectures,
    >> otherwise IS_ENABLED(CONFIG_NUMA) does not work.
    >> Some arch-specific Kconfig already has this stub.
    >> This patch adds it to all remaining.
    >
    > Why not add it somewhere generic (like mm/Kconfig, maybe) and then it can
    > be removed from the architecture specific places over time (if necessary
    > - I am pretty sure it is ok to have it there twice)?
    >

    Different architectures has different dependencies for NUMA.

    Seems like Kconfig allow config option duplication, but it use default state from first.
    If we add "config NUMA\n def_bool n" somewhere in generic Kconfig, default will be n if
    Kconfig see this declaration first.


    \
     
     \ /
      Last update: 2012-02-17 14:35    [W:0.041 / U:30.612 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site