struct thread_info is shared with the stack, not struct task_struct.
False positives have been seen.
-- wli
===== arch/i386/kernel/irq.c 1.24 vs edited =====
--- 1.24/arch/i386/kernel/irq.c Thu Oct 31 07:28:34 2002
+++ edited/arch/i386/kernel/irq.c Thu Jan 16 20:39:53 2003
@@ -338,9 +338,9 @@
__asm__ __volatile__("andl %%esp,%0" :
"=r" (esp) : "0" (8191));
- if (unlikely(esp < (sizeof(struct task_struct) + 1024))) {
+ if (unlikely(esp < (sizeof(struct thread_info) + 1024))) {
printk("do_IRQ: stack overflow: %ld\n",
- esp - sizeof(struct task_struct));
+ esp - sizeof(struct thread_info));
dump_stack();
}
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/