Re: lockdep: how to tell it multiple pte locks is OK?

From: Arjan van de Ven
Date: Sun Oct 07 2007 - 12:59:54 EST


On Sat, 06 Oct 2007 23:31:33 -0700

> I'm presume I'm the first person to try holding multiple pte locks at
> once, so there's no existing locking order for these locks. I'm
> always traversing and locking the pagetable in virtual address order
> (and this seems like a sane-enough rule for anyone else who wants to
> hold multiple pte locks).

I'm not sure that's a valid assumption in light of things like sharing
pagetables between processes etc etc..
(granted, that one is out of tree right now but I still hope it'll go
in some day:)
-
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/