summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'bkl-removal' of git://git.lwn.net/linux-2.6Linus Torvalds2008-07-14179-350/+1092
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'bkl-removal' of git://git.lwn.net/linux-2.6: (146 commits) IB/umad: BKL is not needed for ib_umad_open() IB/uverbs: BKL is not needed for ib_uverbs_open() bf561-coreb: BKL unneeded for open() Call fasync() functions without the BKL snd/PCM: fasync BKL pushdown ipmi: fasync BKL pushdown ecryptfs: fasync BKL pushdown Bluetooth VHCI: fasync BKL pushdown tty_io: fasync BKL pushdown tun: fasync BKL pushdown i2o: fasync BKL pushdown mpt: fasync BKL pushdown Remove BKL from remote_llseek v2 Make FAT users happier by not deadlocking x86-mce: BKL pushdown vmwatchdog: BKL pushdown vmcp: BKL pushdown via-pmu: BKL pushdown uml-random: BKL pushdown uml-mmapper: BKL pushdown ...
| * Merge commit 'v2.6.26' into bkl-removalJonathan Corbet2008-07-141975-19667/+41802
| |\
| * | IB/umad: BKL is not needed for ib_umad_open()Roland Dreier2008-07-111-6/+14
| | | | | | | | | | | | | | | | | | | | | Remove explicit lock_kernel() calls and document why the code is safe. Signed-off-by: Roland Dreier <rolandd@cisco.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | IB/uverbs: BKL is not needed for ib_uverbs_open()Roland Dreier2008-07-041-7/+13
| | | | | | | | | | | | | | | | | | | | | Remove explicit lock_kernel() calls and document why the code is safe. Signed-off-by: Roland Dreier <rolandd@cisco.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | bf561-coreb: BKL unneeded for open()Jonathan Corbet2008-07-021-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | According to Mike Frysinger: http://permalink.gmane.org/gmane.linux.kernel/699279 open() does not need the BKL, so take it back out.
| * | Call fasync() functions without the BKLJonathan Corbet2008-07-021-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lock_kernel() calls have been pushed down into code which needs it, so there is no need to take the BKL at this level anymore. This work inspired and aided by Andi Kleen's unlocked_fasync() patches. Acked-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | snd/PCM: fasync BKL pushdownJonathan Corbet2008-07-021-2/+6
| | | | | | | | | | | | | | | | | | | | | Chances are this is unneeded, but the code is twisty enough that it is hard to tell. Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | ipmi: fasync BKL pushdownJonathan Corbet2008-07-021-0/+2
| | | | | | | | | | | | | | | | | | This driver really needs it to avoid races against open() Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | ecryptfs: fasync BKL pushdownJonathan Corbet2008-07-021-0/+3
| | | | | | | | | | | | Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | Bluetooth VHCI: fasync BKL pushdownJonathan Corbet2008-07-021-3/+6
| | | | | | | | | | | | Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | tty_io: fasync BKL pushdownJonathan Corbet2008-07-021-5/+9
| | | | | | | | | | | | Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | tun: fasync BKL pushdownJonathan Corbet2008-07-021-4/+7
| | | | | | | | | | | | Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | i2o: fasync BKL pushdownJonathan Corbet2008-07-021-4/+6
| | | | | | | | | | | | | | | | | | This driver appears to really need the BKL to protect open_files. Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | mpt: fasync BKL pushdownJonathan Corbet2008-07-021-1/+5
| | | | | | | | | | | | | | | | | | It looks like this driver really needs the BKL here. Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | Remove BKL from remote_llseek v2Andi Kleen2008-07-027-34/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Replace remote_llseek with generic_file_llseek_unlocked (to force compilation failures in all users) - Change all users to either use generic_file_llseek_unlocked directly or take the BKL around. I changed the file systems who don't use the BKL for anything (CIFS, GFS) to call it directly. NCPFS and SMBFS and NFS take the BKL, but explicitely in their own source now. I moved them all over in a single patch to avoid unbisectable sections. Open problem: 32bit kernels can corrupt fpos because its modification is not atomic, but they can do that anyways because there's other paths who modify it without BKL. Do we need a special lock for the pos/f_version = 0 checks? Trond says the NFS BKL is likely not needed, but keep it for now until his full audit. v2: Use generic_file_llseek_unlocked instead of remote_llseek_unlocked and factor duplicated code (suggested by hch) Cc: Trond.Myklebust@netapp.com Cc: swhiteho@redhat.com Cc: sfrench@samba.org Cc: vandrove@vc.cvut.cz Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | Make FAT users happier by not deadlockingJonathan Corbet2008-07-021-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | The FAT BKL removal patch can cause deadlocks. It turns out that the new lock_super() calls are unneeded, remove them (as directed by Linus). Reported-by: "Tony Luck" <tony.luck@intel.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | x86-mce: BKL pushdownArnd Bergmann2008-07-021-0/+4
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | vmwatchdog: BKL pushdownArnd Bergmann2008-07-021-1/+6
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | vmcp: BKL pushdownArnd Bergmann2008-07-021-0/+4
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | via-pmu: BKL pushdownArnd Bergmann2008-07-021-0/+3
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | uml-random: BKL pushdownArnd Bergmann2008-07-021-0/+3
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | uml-mmapper: BKL pushdownArnd Bergmann2008-07-021-0/+2
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | uml-harddog: BKL pushdownArnd Bergmann2008-07-021-0/+3
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | uinput: BKL pushdownArnd Bergmann2008-07-021-0/+3
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | uctrl: BKL pushdownArnd Bergmann2008-07-021-0/+3
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | tpm-tpm: BKL pushdownArnd Bergmann2008-07-021-0/+5
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | sparc64-rtc: BKL pushdownArnd Bergmann2008-07-021-1/+6
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | sparc-apc: BKL pushdownArnd Bergmann2008-07-021-0/+2
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | sonypi: BKL pushdownArnd Bergmann2008-07-021-0/+3
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | sony-laptop: BKL pushdownArnd Bergmann2008-07-021-0/+3
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | serio: BKL pushdownArnd Bergmann2008-07-021-1/+5
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | scsi-tgt: BKL pushdownArnd Bergmann2008-07-021-0/+2
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | sbus-rtc: BKL pushdownArnd Bergmann2008-07-021-0/+3
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | rtc-rtc-m41t80: BKL pushdownArnd Bergmann2008-07-021-1/+6
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | rtc: BKL pushdownArnd Bergmann2008-07-021-0/+4
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | riowatchdog: BKL pushdownArnd Bergmann2008-07-021-0/+2
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | pm_qos_params: BKL pushdownArnd Bergmann2008-07-021-1/+6
| | | | | | | | | | | | | | | | | | | | | [jmc: added <linux/smp_lock.h>] Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
| * | parisc-kernel-perf: BKL pushdownArnd Bergmann2008-07-021-0/+4
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | parisc-eisa_eeprom: BKL pushdownArnd Bergmann2008-07-021-0/+3
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | openprom: BKL pushdownArnd Bergmann2008-07-021-0/+3
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | ocfs2-stack_user: BKL pushdownArnd Bergmann2008-07-021-0/+3
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | nvram: BKL pushdownArnd Bergmann2008-07-021-0/+4
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | net-tun: BKL pushdownArnd Bergmann2008-07-021-0/+2
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | mwave-mwavedd: BKL pushdownArnd Bergmann2008-07-021-0/+2
| | | | | | | | | | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
| * | 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>
OpenPOWER on IntegriCloud