lkml.org 
[lkml]   [2011]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] mm: Switch NUMA_BUILD and COMPACTION_BUILD to new IS_ENABLED() syntax
    On Thu 11-08-11 14:51:33, Michal Hocko wrote:
    > On Wed 10-08-11 17:12:40, Michal Marek wrote:
    > > Introduced in 3.1-rc1, IS_ENABLED(CONFIG_NUMA) expands to a true value
    > > iff CONFIG_NUMA is set. This makes it easier to grep for code that
    > > depends on CONFIG_NUMA.

    I have just looked closer at all available macros. Wouldn't it make more
    sense to use IS_BUILTIN instead? Both symbols can be only on or off.
    Not that it would make any difference in the end. I even like IS_ENABLED
    naming more.
    --
    Michal Hocko
    SUSE Labs
    SUSE LINUX s.r.o.
    Lihovarska 1060/12
    190 00 Praha 9
    Czech Republic


    \
     
     \ /
      Last update: 2011-08-11 15:03    [W:3.661 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site