[lkml]   [2005]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: kernel stack size
> On Sun, Apr 03, 2005 at 03:15:42AM +0900, ooyama eiichi wrote:
> > in i386 and ia64.
> search for CONFIG_DEBUG_STACKOVERFLOW in arch/i386/kernel/irq.c

Oh, very good information for me.

> ia64 has fairly large stacks so you probably won't need to check there
> if you get the above working

in ia64, he works properly.

> > because my driver hungs the machine by an certain ioctl. and it
> > seems to me there is no bad in the code correspond to the ioctl,
> > except for that it is using large auto variables. (some functions
> > are useing ~1KB autos)
> don't do that, even if you make it 'apparently' work for you it will
> just end up being a problem mater on or for someone else

I changed these to using kmalloc().
(but not yet confirmed for my driver to work properly)

Thanks very much.

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-04-06 13:31    [W:0.056 / U:2.568 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site