Daniel Walker wrote:
The semaphore usage in ACPI is more like completions. The ASL functions getting implemented here are signals which follow a "wait for", signaled, or reset format. This implements the ACPI signaling methods with the Linux completion API, instead of using semaphores. completion_done() taken from Dave Chinner.
I agree with Matthew's earlier criticism. It doesn't make sense to reinvent semaphores using completions when we really need semaphores here for several cases (e.g. the AML locks by themselves) So I'm not going to apply this patch. What I'm open for is to convert specific non AML instances of the ACPICA semaphores to mutexes. Such changes would need to be coordinated with Bob of course though because it would affect his codebase. In fact that has been already done for some. -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html