lkml.org 
[lkml]   [2009]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [tip:bkl/drivers] drivers: Remove BKL from misc_open
    On Wed, 14 Oct 2009 15:47:39 GMT
    tip-bot for Thomas Gleixner <tglx@linutronix.de> wrote:

    > Commit-ID: 40b798efe3460797a4ac928ee2e038774e2758eb
    > Gitweb: http://git.kernel.org/tip/40b798efe3460797a4ac928ee2e038774e2758eb
    > Author: Thomas Gleixner <tglx@linutronix.de>
    > AuthorDate: Sat, 10 Oct 2009 15:35:43 +0000
    > Committer: Thomas Gleixner <tglx@linutronix.de>
    > CommitDate: Wed, 14 Oct 2009 17:33:32 +0200
    >
    > drivers: Remove BKL from misc_open
    >
    > misc_open() is already serialized with misc_mtx. Remove the BKL
    > locking which got there via the BKL pushdown.

    NAK.

    You can't simply assume the mutex is enough - you have to either push it
    down or review *every* possible called point below the lock_kernel take.

    In this case the open method of the misc devices below sometimes uses the
    BKL.


    \
     
     \ /
      Last update: 2009-10-14 18:45    [W:0.028 / U:31.820 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site