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

restoring of pt_regs regs in context switch



Hello all
I have a question concerning context switch :
When and how does the content of 'regs' (struct pt_regs) is restored during context switch?
(especially fn, arg, and kernel_thread_helper() address, set in kernel_thread() in order to call fn(arg)).


Thanks in advance for your responses.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ