Limetime's TimeLine
반응형
article thumbnail
Linux task_struct 구조체 분석
System/Linux System 2023. 10. 19. 00:18

task_struct- Linux의 커널에서는 task_struct 구조체를 사용하여 커널 영역의 메모리 프로세스를 표현한다. - 이 구조체에 포함되어 있는 멤버 변수를 이해하는 것은 프로세스 개념을 이해에 도움이 된다. - Linux에서의 프로세스 관리를 이해할 때, 도움이 된다. * https://elixir.bootlin.com/linux/v6.0-rc6/source/include/linux/sched.h 참조 구조체 분석struct task_struct {#ifdef CONFIG_THREAD_INFO_IN_TASK /* * For reasons of header soup (see current_thread_info()), this * must be the first element of task_s..

반응형