From: Michael Buesch <mb@xxxxxxxxx> Date: Thu, 1 Oct 2009 21:10:32 +0200 > For the benefit of a much bigger critical section? I don't get it > why this would be any better. Think about what you are saying when you introduce things like this into your code: if (in_interrupt()) foo(); else bar(); That thing there means you don't know anything about how you'll need to do locking properly, because you have no idea about even the context in which your code is executed. Sure, you can lock for the most stringent case, but that's silly and wasteful. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html