Hi, I wrote a module and somehow it is corrupting the thread_info of the process. After some debugging I concluded that its corrupting the kernel stack.
Then I came across Ftrace to get the stack trace, which confirmed high stack usage. http://lwn.net/Articles/366796/ I see around 7K in the depth section of first entry in "stack_trace". At the same time I run a stap script to get the current stack usage using "stack_used" function. It comes around 4k. To my understanding the depth section of first entry in "stack_trace" and value retuned by stack_used should match. Is my understanding correct? Thanks Neependra
