mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Initialization of task_t
@ 2004-06-22 15:15 Andre Marcos Dias Campos
  2004-06-22 16:19 ` William Lee Irwin III
  0 siblings, 1 reply; 2+ messages in thread
From: Andre Marcos Dias Campos @ 2004-06-22 15:15 UTC (permalink / raw)
  To: linux-kernel

Hi,

I would like to know where in the kernel code the task_t struct of each 
process is initialized.

Regards

Andre Dias


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Initialization of task_t
  2004-06-22 15:15 Initialization of task_t Andre Marcos Dias Campos
@ 2004-06-22 16:19 ` William Lee Irwin III
  0 siblings, 0 replies; 2+ messages in thread
From: William Lee Irwin III @ 2004-06-22 16:19 UTC (permalink / raw)
  To: Andre Marcos Dias Campos; +Cc: linux-kernel

On Tue, Jun 22, 2004 at 12:15:55PM -0300, Andre Marcos Dias Campos wrote:
> I would like to know where in the kernel code the task_t struct of each 
> process is initialized.
> Regards
> Andre Dias

You're looking for dup_task_struct(), which copies the child's from the
parent's, and static initialization of the first process with INIT_TASK,
defined in include/linux/init_task.h.


--- wli

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-22 17:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-22 15:15 Initialization of task_t Andre Marcos Dias Campos
2004-06-22 16:19 ` William Lee Irwin III

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®