[lkml]   [2008]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH, RFC] Char dev BKL pushdown v2
    Roland Dreier <> wrote:

    > OK, will send such a patch after auditing more carefully. Just to be
    > very clear, the issue is to make sure the locking is sufficient to
    > protect against multiple racing open calls to the same character device?

    That's part of it, but, as Alan pointed out, there's more. The BKL
    currently protects open() calls against concurrency with other opens,
    with ioctl(), and with driver initialization as well. So it's a matter
    of having one's locking and ordering act together in general.


     \ /
      Last update: 2008-05-19 22:45    [W:0.021 / U:10.620 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site