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-18 20:49:41 +02:00
2008-05-01 18:59:11 +01:00
2008-05-08 01:15:21 -07:00
2008-05-14 10:00:26 -07:00
2008-05-01 13:08:50 -04:00
2008-05-13 08:02:25 -07:00
2008-05-01 08:03:59 -07:00
2008-05-01 08:03:59 -07:00
2008-05-10 19:51:16 -07:00
2008-05-13 08:02:25 -07:00
2008-05-14 10:37:58 -07:00
2008-05-07 09:48:23 +02:00
2008-05-01 13:08:16 -04:00
2008-05-01 13:08:16 -04:00
2008-05-07 09:29:00 +02:00
2008-05-13 08:02:26 -07:00
2008-05-14 10:37:57 -07:00
2008-05-10 20:58:02 -07:00
2008-05-03 18:11:48 +02:00
2008-05-18 20:49:41 +02:00
2008-05-14 23:06:16 +02:00
2008-04-30 20:34:26 -04:00
2008-05-02 16:53:33 -07:00
2008-05-01 13:08:16 -04:00
2008-05-05 16:47:14 +10:00
2008-05-07 09:51:23 +02:00
2008-05-02 13:40:34 +02:00
2008-05-01 08:03:58 -07:00
2008-05-15 17:50:37 -07:00
2008-05-02 21:50:44 +10:00
2008-05-14 19:11:14 -07:00
2008-05-05 07:13:21 -05:00
2008-04-30 16:52:58 -07:00
2008-05-09 15:00:55 -04:00
2008-05-01 08:03:58 -07:00
2008-05-13 08:02:25 -07:00
2008-05-01 21:14:59 +10:00
2008-05-12 20:48:31 -07:00
2008-05-09 20:22:58 +10:00
2008-05-14 19:23:25 -05:00
2008-05-01 08:04:01 -07:00
2008-05-03 03:39:55 +04:00
2008-05-14 19:11:14 -07:00
2008-05-06 12:01:41 -04:00
2008-05-01 13:07:28 -04:00
2008-05-01 08:04:01 -07:00
2008-05-10 19:51:16 -07:00
2008-05-03 10:01:33 -07:00
2008-05-12 13:34:13 -07:00
2008-06-20 14:05:53 -06:00
2008-05-01 08:03:59 -07:00
2008-05-04 17:07:03 -07:00
2008-05-01 08:03:59 -07:00
2008-05-09 07:45:18 -07:00
2008-05-02 21:50:51 +10:00
2008-05-02 21:50:50 +10:00
2008-05-02 21:50:47 +10:00
2008-05-02 21:50:50 +10:00
2008-05-01 17:38:35 -04:00