Re: [Patch] deadlock on write in tmpfs

2001-05-02 Thread Christoph Rohland
Hi Stephen, On Tue, 1 May 2001, Stephen C. Tweedie wrote: > If the locking is for a completely different reason, then a > different semaphore is quite appropriate. In this case you're > trying to lock the shm internal info structures, which is quite > different from the sort of inode locking whi

Re: [Patch] deadlock on write in tmpfs

2001-05-02 Thread Stephen C. Tweedie
hi, On Tue, May 01, 2001 at 03:39:47PM +0200, Christoph Rohland wrote: > > tmpfs deadlocks when writing into a file from a mapping of the same > file. > > So I see two choices: > > 1) Do not serialise the whole of shmem_getpage_locked but protect >critical pathes with the spinlock and do