[lkml]   [2001]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [CHECKER] large stack variables (>=1K) in 2.4.4 and 2.4.4-ac8
On Fri, May 25, 2001 at 04:03:57PM +0200, Oliver Neukum wrote:
> > A small overflow of the kernel stack overwrites the struct task at the
> > bottom of the stack, recovery is dubious at best because we rely on
> > data in struct task. A large overflow of the kernel stack either
> > corrupts the storage below this task's stack, which could hit anything,
> > or it gets a stack fault.
> Is there a reason for the task structure to be at the bottom rather than the
> top of these two pages ?

This way you save one addition for every current access; which adds to
quite a few KB over the complete kernel.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:53    [W:0.105 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site