valid events (if we take an interrupt anywhere
in the region where depth is elevated, then the entire interrupt will
be blocked from calling hcall tracepoints.
Thanks!
Subrata, could you test the patch below?
Anton
--
Subject: [PATCH] powerpc: Fix hcall tracepoint recursion
] powerpc: Fix hcall tracepoint recursion
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
!
Subrata, could you test the patch below?
Yes, definitely. Givmme some time.
Regards--
Subrata
Anton
--
Subject: [PATCH] powerpc: Fix hcall tracepoint recursion
Spinlocks on shared processor partitions use H_YIELD to notify the
hypervisor we are waiting on another virtual CPU
On Thu, 2010-10-21 at 21:52 +1100, Anton Blanchard wrote:
Anton
--
Subject: [PATCH] powerpc: Fix hcall tracepoint recursion
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
we would sometimes drop valid events (if we take an interrupt anywhere
in the region where depth is elevated, then the entire interrupt will
be blocked from calling hcall tracepoints.
Anton
--
Subject: [PATCH] powerpc: Fix hcall tracepoint recursion
Spinlocks on shared processor partitions use