[lkml]   [2001]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] remove BKL from drivers' release functions
    > Does everyone agree that we need to get the BKL out of common areas like 
    > this? For starters, what about adding a pair of spinlocks for block

    Ideally the BKL itself should die.

    > devices and character devices to take the place of the BKL in
    > serializing opens? Or, should we make it the driver's responsibility
    > completely?

    It needs to be the drivers job, to be documented as such and to be
    implemented properly in some drivers. In paticular there are some extremely
    interesting closedown races in existing drivers where it goes

    CPU1 CPU2
    [do slow thing]
    setting stuff up
    slow thing done
    trash the chip setup
    turn the chip off
    ouch bang splat Oops!!!

    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:13    [W:0.019 / U:66.784 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site