[lkml]   [2012]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    SubjectRE: [PATCH] sched: Enable arch-specific asym packing option in sched domain
    Add arch specific (weak) routine to set (or not set) the ASYM_PACKING
    sched domain flag. This change itself does nothing, but allows archs
    that require asym-packing option to set it by implementing the arch
    specific routine to turn it on.

    The weak symbol is already defined in sched/core.c but was mis-spelled
    in the header file. Fixed spelling error in the weak symbol definition.

    Signed-off-by: Diwakar Tundlam <>

    diff --git a/include/linux/sched.h b/include/linux/sched.h
    index c569719..cf793f0 100644
    --- a/include/linux/sched.h
    +++ b/include/linux/sched.h
    @@ -903,7 +903,7 @@ static inline int sd_balance_for_package_power(void)

    -extern int __weak arch_sd_sibiling_asym_packing(void);
    +extern int __weak arch_sd_sibling_asym_packing(void);

    * Optimise SD flags for power savings:
    diff --git a/include/linux/topology.h b/include/linux/topology.h
    index b480403..eb09cd4 100644
    --- a/include/linux/topology.h
    +++ b/include/linux/topology.h
    @@ -168,6 +168,7 @@ int arch_update_cpu_topology(void);
    | 0*SD_SERIALIZE \
    + | arch_sd_sibling_asym_packing() \
    | sd_balance_for_package_power() \
    | sd_power_saving_flags() \
    , \
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at
     \ /
      Last update: 2012-05-05 00:41    [W:0.025 / U:1.216 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site