Re: Linux 2.5.59

From: William Lee Irwin III (wli@holomorphy.com)
Date: Thu Jan 16 2003 - 23:44:51 EST


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/



This archive was generated by hypermail 2b29 : Thu Jan 23 2003 - 22:00:15 EST