Re: [PATCH] workaround minor lockdep bug triggered by mm_take_all_locks

From: Roland Dreier
Date: Mon Aug 04 2008 - 14:56:57 EST


> NAK, come-on, you didn't even bother to look at the available
> annotations..

Agree that this trylock-in-a-loop is a horrible hack that should never
be merged.

However I wonder what you think the right way to annotate the
potentially unbounded number of locks taken in mm_take_all_locks() is?

- R.
--
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/