[lkml]   [2004]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [patch] remove the BKL (Big Kernel Lock), this time for real

    * Bill Huey <> wrote:

    > Judging from how the Linux code is done and the numbers I get from
    > Bill Irwin in casual conversation, the Linux SMP approach is clearly
    > the right track at this time with it's hand honed per-CPU awareness of
    > things. The only serious problem that spinlocks have as they aren't
    > preemptable, which is what Ingo is trying to fix.

    a clarification: note that the current BKL is a special case. No way do
    i suggest that the BKS is the proper model for any SMP implementation.
    It is a narrow special-case because it wraps historic UP-only kernel

    our primary multiprocessing primitives are still the following 4:
    lockless data structures, RCU, spinlocks and mutexes. (reverse ordered
    by level of parallelism.) The BKS is basically a fifth method, a special
    type of semaphore that i'd never want to be seen used by any new SMP
    code. It is completely local to sched.c.

    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.021 / U:7.056 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site