[lkml]   [2007]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    SubjectRe: [patch] CFS scheduler, v3
    On Wed, Apr 18, 2007 at 07:50:17PM +0200, Ingo Molnar wrote:
    > this is the third release of the CFS patchset (against v2.6.21-rc7), and
    > can be downloaded from:
    > this is a pure "fix reported regressions" release so there's much less
    > churn:
    > 5 files changed, 71 insertions(+), 29 deletions(-)
    > (the added lines are mostly debug related, not genuine increase in the
    > scheduler's size)

    It appears to me that the following can be taken in for mainline
    (or rejected for mainline) independently of the rest of the cfs patch.

    -- wli

    Mark the runqueues ____cacheline_aligned_in_smp to avoid false sharing.

    Index: sched/kernel/sched.c
    --- sched.orig/kernel/sched.c 2007-04-18 14:10:03.593207728 -0700
    +++ sched/kernel/sched.c 2007-04-18 14:11:39.270660075 -0700
    @@ -278,7 +278,7 @@
    struct lock_class_key rq_lock_key;

    -static DEFINE_PER_CPU(struct rq, runqueues);
    +static DEFINE_PER_CPU(struct rq, runqueues) ____cacheline_aligned_in_smp;

    static inline int cpu_of(struct rq *rq)
    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: 2007-04-18 23:29    [W:0.021 / U:46.852 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site