On Mon, Sep 30, 2013 at 08:25:51AM -0700, Josh Triplett wrote: > First, you could add an attribute for conditional context changes, which > takes an expression; however, that would require an expression > evaluator, which internally would construct code a lot like __cond_lock, > and it would require some syntax to reference the return value. That > seems excessively painful, and not significantly better than > __cond_lock. This sounds somewhat familiar; its better in that it doesn't pollute the actual kernel source ;-) -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html