Files
linux-st/include/linux
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:00:26 -07:00
2008-05-07 09:48:23 +02:00
2008-05-07 09:29:00 +02:00
2008-05-13 08:02:26 -07:00
2008-05-18 20:49:41 +02:00
2008-05-14 23:06:16 +02:00
2008-05-05 16:47:14 +10:00
2008-05-14 19:11:14 -07:00
2008-05-06 12:01:41 -04:00
2008-06-20 14:05:53 -06:00
2008-05-04 17:07:03 -07:00
2008-05-09 07:45:18 -07:00