Re: Linux 2.5.59

William Lee Irwin III (wli@holomorphy.com)
Thu, 16 Jan 2003 20:44:51 -0800


On Thu, Jan 16, 2003 at 06:28:03PM -0800, Linus Torvalds wrote:
> Updates to sparc, alpha, ppc64, fbdev, XFS, AGP, kbuild, arm...
> Likely the last release by me in a while, but Andrew & co can hold the
> fort..

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/