Re: [PATCH] lockdep: lock_set_subclass - reset a held lock's subclass

From: Jeremy Fitzhardinge
Date: Fri Aug 01 2008 - 14:06:54 EST


Peter Zijlstra wrote:
From: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
Subject: lockdep: lock_set_subclass - reset a held lock's subclass

this can be used to reset a held lock's subclass, for arbitrary-depth
iterated data structures such as trees or lists which have per-node
locks.

Hey, can I use this to suppress the spurious lockdep warnings I get when I try to hold more than one pte lock at once?

J
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/