Re: accessing task_struct from kernel

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

 



Yasmine Habib (yasmine.maged@xxxxxxxxx) wrote:
> We are trying to
> implement dynamic process migration in the parallel virtual machine.
> I've read some of the mails you sent on the mailing list regarding
> accessing of members of task_struct and other stuff. Since we are
> trying to access the information about a process in order to suspend
> it while its being executed hence i am facing a problem in how to
> access the task_struct itself from the kernel in order to retrieve all
> the other information. Do you have any idea about how to access the
> task_struct? I hope you can reply as soon as possible.
> 
> Thank you so much..

current macro is what you search.
kernelnewbies FAQ and http://www.xml.com/ldd/chapter/book/ch02.html
[see: The Current Process]

Have a nice day.

	~Christophe


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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