Revision 57cdfdf829a850a317425ed93c6a576c9ee6329c authored by Anton Blanchard on 21 October 2010, 00:52:12 UTC, committed by Benjamin Herrenschmidt on 07 February 2011, 02:06:08 UTC
Spinlocks on shared processor partitions use H_YIELD to notify the hypervisor we are waiting on another virtual CPU. Unfortunately this means the hcall tracepoints can recurse. The patch below adds a percpu depth and checks it on both the entry and exit hcall tracepoints. Signed-off-by: Anton Blanchard <anton@samba.org> Acked-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> CC: stable@kernel.org
1 parent 429f4d8
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...