On Fri, 2005-08-26 at 15:40 -0700, Sarthak Ray wrote: > Hello, > > I want to change the stack size of kernel threads (from the default > 8K) on a per-thread basis. you can't do that (and sometimes the stack is 4kb not 8kb). There are many assumptions all over the kernel that the kernel stack is the same size for all threads. Just look at how the kernel gets "current" to see why (and current is used from interrupt context as well!) you will need to fix your code to not need as much stack.. Do you have an url to your code, maybe there are simple things we can recommend in this regard... -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/