Thread (3 messages) flat view 3 messages, 3 authors, 2011-10-04

how does linux restores a thread's stack pointer, program counter and return address.

From: Chauhan, Himanshu <hidden>
Date: 2011-10-04 12:50:43

Hi Smital,
I am keen to find out how does linux restores a thread's stack pointer, program counter and return address.
Isn't it that each thread has a different task_struct and at schedule
r29 is reloaded from its own independent task_struct?
Also, while scheduling pc and r31 are stored at the independent stack?

Anyways, I think if you ask this question at Linux MIPS mailing list,
people might shed more light on it.

-Himanshu
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help