Re: [LOCKDEP] xfs: possible recursive locking detected

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 05, 2006 at 08:46:51AM +0200, Ingo Molnar wrote:
> 
> i should have formulated this as a question: should i implement 
> spin_lock_destroy()? A few months ago i implemented mutex_destroy() for 
> XFS's use, and now we could do it for spinlocks too.
> ...
> spin_lock_destroy() would work like mutex_destroy(): the magic number in 
> the lock is overwritten and hence no further locking API will allow the 
> use of that lock from that point on. (up until the lock is reinitialized 
> via spin_lock_init())

Oh, right, I see - yes, I think that could be generally useful
and we'd get some value out of that in XFS for sure.  Thanks.

cheers.

-- 
Nathan
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux