Re: restoring of pt_regs regs in context switch

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

 




I also have a questions about struct pt_regs, how to get pt_regs in my module,Does kernel provide a API to get that?

2008/12/8 Stephane Lambert <stephane.lambert@xxxxxxxxxx>
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



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux