Re: [RFC 1/2] mm: additional page lock debugging

From: Peter Zijlstra
Date: Tue Dec 31 2013 - 11:26:50 EST


On Mon, Dec 30, 2013 at 10:22:02PM -0500, Sasha Levin wrote:

> I really want to use lockdep here, but I'm not really sure how to handle locks which live
> for a rather long while instead of being locked and unlocked in the same function like
> most of the rest of the kernel. (Cc Ingo, PeterZ).

Uh what? Lockdep doesn't care about which function locks and unlocks a
particular lock. Nor does it care how long its held for.
--
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/