lkml.org 
[lkml]   [2008]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] kill empty chardev open/release methods

> As it turns out, a misc driver will still be OK because the BKL has not
> (yet) been pushed past misc_open(). What this does mean, though, is
> that all of those empty and trivial open functions need to be
> revisited. I thought this looked too easy the first time through...

I think it would be best to make them lock/unlock kernel in the first
pass and then work through them. The BKL can be subtle and evil, but as I
brought it into the world I guess I must banish it ;)


Alan


\
 
 \ /
  Last update: 2008-05-18 22:13    [W:0.099 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site