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