Increasing stack size to 16K on x86_64 2.6.18 kernel
Hi,
I am trying to increase the stack size of a 2.6.18 kernel x86_64 to 16K by changing:
-#define THREAD_ORDER 1
+#define THREAD_ORDER 2
#ifdef __ASSEMBLY__
#define THREAD_SIZE (1 << (PAGE_SHIFT + HREAD_ORDER))
When the system goes up all seems fine but my driver started crashing when calling vfree:
void vfree(void *addr)
{
BUG_ON(in_interrupt());
__vunmap(addr, 1);
}
Do I need to change anything else?
It seems that in_interrupt returns TRUE.
Thanks in advance,
Alon
|