Messages in this thread | | | Date | Fri, 23 Jun 2006 11:51:11 +0200 | From | Ingo Molnar <> | Subject | Re: [patch 37/61] lock validator: special locking: dcache |
| |
* Steven Rostedt <rostedt@goodmis.org> wrote:
> On Mon, 2006-05-29 at 18:35 -0700, Andrew Morton wrote:
> > DENTRY_D_LOCK_NORMAL isn't used anywhere. > > I guess it is implied with the normal spin_lock. Since > spin_lock(&target->d_lock) and > spin_lock_nested(&target->d_lock, DENTRY_D_LOCK_NORMAL) > are equivalent. (DENTRY_D_LOCK_NORMAL == 0) > > Probably this deserves a comment.
i have added a comment to dcache.h explaining this better.
Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |