Re: [PATCH] kill empty chardev open/release methods

From: Alan Cox
Date: Sun May 18 2008 - 16:10:51 EST



> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/