In kernel 4.16 and above init_task is initialized directly
- Lenguaje dominante
- Python
- Estrellas
- 33.5k
- Forks
- 3.6k
- Merge medio
- 8 h 41 min
- PR fusionados (30 d)
- 11
Descripción
Kernel entry point -> First steps in the start_kernel
> You can see the definition of the init_task and it initialized by the INIT_TASK macro. This macro is from [include/linux/init_task.h](https://github.com/torvalds/linux/blob/16f73eb02d7e1765ccab3d2018e0bd98eb93d973/include/linux/init_task.h) and it just fills the init_task with the values for the first process.
In earlier kernels init_task used to be initialized with the INIT_TASK macro, which is now absent. From 4.16 and on, there's a direct initialization in the init_task.c file.
Guía de contribución
Línea de trabajo
El issue señala un cambio en la inicialización del kernel. Examine el código del punto de entrada del kernel en start_kernel y la definición de init_task en init_task.c. Compare la inicialización directa actual con el antiguo uso de la macro INIT_TASK de include/linux/init_task.h. Actualice el texto del libro para reflejar el cambio a partir del kernel 4.16.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Área
- documentation
- Tipo de issue
- Documentación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Estado de actividad
- Estancado
- Claridad
- Bien especificado
- Aptitud para principiantes
- 45/100