[lkml]   [2001]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [Lse-tech] Re: CPU affinity & IPI latency

    On 13-Jul-2001 Shailabh Nagar wrote:
    > That is true to an extent. It would be convenient for us as scheduler
    > rewriters to have neatly differentiated classes like UP, SMP, BIG_SMP, NUMA
    > etc. But it forces all other scheduler-sensitive code to think of each of
    > these cases separately and is exactly the reason why #ifdef's are
    > discouraged for critical kernel code like the scheduler.

    Personally I hate #ifdef's inside the code more than my cat water, but something
    like :

    #include "sched_xxx.c"
    #include "sched_yyy.c"



    looks pretty clean to me.

    - Davide

    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: 2005-03-22 13:17    [W:0.021 / U:3.256 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site