[lkml]   [2004]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [patch] sched: fix scheduling latencies for !PREEMPT kernels
    On Tue, 2004-09-14 at 17:03 +0200, Andrea Arcangeli wrote:
    >> we simply need a cond_resched_bkl() for that, no? Very few places are
    >> still serialized with the BKL, so I don't think it would be a big issue
    >> to convert those few places to use cond_resched_bkl.

    On Tue, Sep 14, 2004 at 02:05:03PM -0400, Robert Love wrote:
    > Yes, this is all we need to do.
    > cond_resched() goes away under PREEMPT.
    > cond_resched_bkl() does not.
    > I did this a looong time ago, but did not get much interest.
    > Explicitly marking places that use BKL's "I can always call schedule()"
    > assumption help make it easier to phase out that assumption, too. Or at
    > least better mark it.

    I'd vaguely prefer to clean up the BKL (ab)users... of course, this
    involves working with some of the dirtiest code in the kernel that's
    already discouraged most/all of those who work on reducing/eliminating
    BKL use from touching it... maybe the latency trend is the final nail
    in the coffin of resistance to cleaning that up, though I agree with
    Alan that we have to be very careful about it, particularly since all
    prior attempts failed to be sufficiently so.

    -- wli
    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 14:06    [W:0.039 / U:111.536 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site