I have read some where recently that an ISR can have separate stack also
i.e. an ISR need not share the stack of interrupted process. What I was
thinking till now is, an ISR shares the stack of the process which was
executing when the interrupt occured and ISR got invoked, thats why things
are in fragile state when ISR is executing.
My question is:
Is it true that, an ISR can have seperate stack? If yes then please provide
me pointers/link to the details. if no then why not? Won't life be easier if
the ISR have their own stacks? I know may be this is not feasible on
machines with less memory.