The code of changing stack is under arch/i386. So at least it is considered architecture-dependent, rather than architecture-neutral. While not sure whether it is available at other architecture than x86, I think it is at least not supposed to be available at all architectures. 2007/2/5, Rajat Jain <rajat.noida.india@xxxxxxxxx>:
> > It depends on whether you have CONFIG_4KSTACKS or not. > > If it's not defined, then you have 8k stacks for each thread, and the > stack of a thread is used during the execution of the ISR that > interrupted its execution. > > If it's defined, then you have 4k stacks for each thread, and a > separate stack to handle the ISRs. > Isn't the above statement x86 focussed? Or is the option only available on x86 (the stack size configurable only on x86)? I read you can configure it to one page (in which case ISR will have separate stack) or two page (in which case ISR will share stack)? Regards, Rajat -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/