disallowed nesting of key handlers (c/s 20929)
Keir,
I don't think this is a good idea. In the course of analyzing issues with tmem we had at least one case where this restriction would have severely hindered debugging: The '0' handler wasn't able to put a target vCPU to sleep (due to it spinning on a lock in the hypervisor), and only the subsequent 'd' information really indicated what was going on.
Generally expecting 'd' to be issued first also doesn't seem adequate since that may not produce output in the case of a pCPU spinning with interrupts disabled (whereas '0' in that case still has a chance to produce useful output).
Jan
Oh, and I also think the shared scratch buffer should be at least large enough to dump NR_CPUS and MAX_VIRT_CPUS wide bitmaps.
Jan
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Jan Beulich" <[email protected]> 12.02.10 08:58 >>>
Keir,
I don't think this is a good idea. In the course of analyzing issues with tmem we had at least one case where this restriction would have severely hindered debugging: The '0' handler wasn't able to put a target vCPU to sleep (due to it spinning on a lock in the hypervisor), and only the subsequent 'd' information really indicated what was going on.
Generally expecting 'd' to be issued first also doesn't seem adequate since that may not produce output in the case of a pCPU spinning with interrupts disabled (whereas '0' in that case still has a chance to produce useful output).
Jan
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel