Jonathan Corbet 0b28067688 Add cycle_kernel_lock()
A number of driver functions are so obviously trivial that they do not need
the big kernel lock - at least not overtly.  It turns out that the
acquisition of the BKL in driver open() functions can perform a sort of
poor-hacker's serialization function, delaying the open operation until the
driver is certain to have completed its initialization.  Add a simple
cycle_kernel_lock() function for these cases to make it clear that there is
no need to *hold* the BKL, just to be sure that we can acquire it.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2008-06-20 14:05:53 -06:00
..
2008-05-14 10:05:18 -07:00
2008-05-12 16:46:55 +01:00
2008-05-12 22:57:51 +10:00
2008-06-20 14:05:53 -06:00
2008-05-14 19:23:27 -05:00
2008-04-29 08:06:12 -07:00