Keir Fraser wrote:
But you're running a debug build, so you have a 4kB stack.
That seems wrong. The debug build enables extra code, so if anything
it would need more stack space than the standard build. Simply running
the extra code in the same stack space should be enough...
Does the attached patch look remotely sane?
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
--- ./xen/include/asm-x86/config.h.stackstack 2006-07-25 14:38:28.000000000
-0400
+++ ./xen/include/asm-x86/config.h 2006-07-25 14:38:31.000000000 -0400
@@ -67,10 +67,10 @@
#ifndef NDEBUG
#define MEMORY_GUARD
+#endif
#ifdef __x86_64__
#define STACK_ORDER 2
#endif
-#endif
#ifndef STACK_ORDER
#define STACK_ORDER 1
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|