lkml.org 
[lkml]   [2003]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Linux 2.5.59
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/
\
 
 \ /
  Last update: 2005-03-22 13:32    [from the cache]
©2003-2011 Jasper Spaans