summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mvme16x-rtc: BKL pushdownArnd Bergmann2008-07-021-0/+4
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* mousedev: BKL pushdownArnd Bergmann2008-07-021-2/+10
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* monwriter: BKL pushdownArnd Bergmann2008-07-021-0/+3
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* monreader: BKL pushdownArnd Bergmann2008-07-021-0/+4
| | | | | | | [jmc: added <linux/smp_lock.h>] Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* microcode: BKL pushdownArnd Bergmann2008-06-201-0/+2
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* message-i2o-i2o_config: BKL pushdownArnd Bergmann2008-06-201-0/+2
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* megaraid: BKL pushdownArnd Bergmann2008-06-201-0/+2
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* media-radio-miropcm20-rds: BKL pushdownArnd Bergmann2008-06-201-0/+4
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* macintosh-smu: BKL pushdownArnd Bergmann2008-06-201-0/+3
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* lcd: BKL pushdownArnd Bergmann2008-06-201-0/+3
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* jsflash: BKL pushdownArnd Bergmann2008-06-201-3/+10
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* irnet_ppp: BKL pushdownArnd Bergmann2008-06-202-0/+4
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* ipmi-watchdog: BKL pushdownArnd Bergmann2008-06-201-0/+3
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* ip27-rtc: BKL pushdownArnd Bergmann2008-06-201-0/+4
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* infiniband-ucma: BKL pushdownArnd Bergmann2008-06-201-0/+3
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* hw-random: BKL pushdownArnd Bergmann2008-06-201-0/+2
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* hpet: BKL pushdownArnd Bergmann2008-06-201-0/+4
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* hp_sdc_rtc: BKL pushdownArnd Bergmann2008-06-201-0/+2
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* hdpu_cpustate: BKL pushdownArnd Bergmann2008-06-201-1/+8
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* genrtc: BKL pushdownArnd Bergmann2008-06-201-1/+6
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* flash: BKL pushdownArnd Bergmann2008-06-201-1/+5
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* envctrl: BKL pushdownArnd Bergmann2008-06-201-0/+2
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* efirtc: BKL pushdownArnd Bergmann2008-06-201-0/+2
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* ds1620: BKL pushdownArnd Bergmann2008-06-201-1/+8
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* ds1286: BKL pushdownArnd Bergmann2008-06-201-0/+4
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* dlm-user: BKL pushdownArnd Bergmann2008-06-201-1/+8
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* display7seg: BKL pushdownArnd Bergmann2008-06-201-0/+1
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* crypto-zcrypt_api: BKL pushdownArnd Bergmann2008-06-201-0/+3
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* crypto-prng: BKL pushdownArnd Bergmann2008-06-201-0/+2
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* cpwatchdog: BKL pushdownArnd Bergmann2008-06-201-0/+4
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* bvme6000-rtc: BKL pushdownArnd Bergmann2008-06-201-1/+6
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* briq_panel: BKL pushdownArnd Bergmann2008-06-201-2/+7
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* bluetooth-vhci: BKL pushdownArnd Bergmann2008-06-201-0/+5
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* block-dasd_eer: BKL pushdownArnd Bergmann2008-06-201-0/+6
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* bf561-coreb: BKL pushdownArnd Bergmann2008-06-201-0/+4
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* basler-excite: BKL pushdownArnd Bergmann2008-06-201-1/+8
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* apm_32: BKL pushdownArnd Bergmann2008-06-201-0/+4
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* apm-emulation: BKL pushdownArnd Bergmann2008-06-201-0/+3
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* ans-lcd: BKL pushdownArnd Bergmann2008-06-201-0/+2
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* agp-frontend: BKL pushdownArnd Bergmann2008-06-201-0/+4
| | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* Replace BKL with superblock lock in fat/msdos/vfatLinus Torvalds2008-06-206-50/+64
| | | | | | | | | | | | | | | | | | | This replaces the use of the BKL in the FAT family of filesystems with the existing superblock lock instead. The code already appears to do mostly proper locking with its own private spinlocks (and mutexes), but while the BKL could possibly have been dropped entirely, converting it to use the superblock lock (which is just a regular mutex) is the conservative thing to do. As a per-filesystem mutex, it not only won't have any of the possible latency issues related to the BKL, but the lock is obviously private to the particular filesystem instance and will thus not cause problems for entirely unrelated users like the BKL can. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Cc: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* bkl-removal viotape fixupStephen Rothwell2008-06-201-1/+1
| | | | | Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* Remove the lock_kernel() call from chrdev_open()Jonathan Corbet2008-06-201-4/+1
| | | | | | | All in-kernel char device open() functions now either have their own lock_kernel() calls or clearly do not need one. Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* Add a comment in chrdev_open()Jonathan Corbet2008-06-201-0/+2
| | | | | | | | I stared at this code for a while and almost deleted it before understanding crept into my slow brain. Hopefully this makes life easier for the next person to happen on it. Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* Add a bunch of cycle_kernel_lock() callsJonathan Corbet2008-06-2021-55/+45
| | | | | | | | | All of the open() functions which don't need the BKL on their face may still depend on its acquisition to serialize opens against driver initialization. So make those functions acquire then release the BKL to be on the safe side. Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* Add cycle_kernel_lock()Jonathan Corbet2008-06-201-0/+13
| | | | | | | | | | | | 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>
* videodev: BKL pushdownJonathan Corbet2008-06-201-0/+4
| | | | | | | | Put explicit lock_kernel() calls into videodev_open(). That function itself seems OK, but one never knows about all the open() functions provided by underlying video drivers. Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* usbdev: BKL pushdownJonathan Corbet2008-06-201-0/+2
| | | | | | Add explicit lock_kernel() calls to usbdev_open() Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* USB Monitor: BKL pushdownJonathan Corbet2008-06-201-0/+6
| | | | | | Add explicit lock_kernel() calls to mon_bin_open() Signed-off-by: Jonathan Corbet <corbet@lwn.net>
* printer gadget: BKL pushdownJonathan Corbet2008-06-201-1/+2
| | | | | | Add explicit lock_kernel() calls to printer_open() Signed-off-by: Jonathan Corbet <corbet@lwn.net>
OpenPOWER on IntegriCloud