[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regarding ISR stack




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/