This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/PROCESSOR-SDK-AM335X: Process stack question

Part Number: PROCESSOR-SDK-AM335X

Tool/software: Linux

We are using TI SDK 7.0, Linux 3.12.10.

I have a little utility that monitors stack size of a process.  It gets the tsk->mm->start_stack value and then gets the KSTK_ESP to get the current stack pointer.  On occasion I see a situation where the KSTK_ESP returns a memory address higher than the start_stack value.  To me this would indicate that the process popped too much off the stack and is reading outside the stack.  But Linux does not seem to have an issue with this.  Under which situations would this scenario happen?