Re: Initialization of task_t

From: William Lee Irwin III (wli_at_holomorphy.com)
Date: 06/22/04

  • Next message: Pat Gefre: "[PATCH 2.6] Altix serial driver"
    Date:	Tue, 22 Jun 2004 09:19:54 -0700
    To: Andre Marcos Dias Campos <amdias@cos.ufrj.br>
    
    

    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
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Pat Gefre: "[PATCH 2.6] Altix serial driver"

    Relevant Pages