[리눅스커널] 프로세스: struct thread_info 구조체 분석하기
Post
원문 보기 →[리눅스커널] 프로세스: struct thread_info 구조체 분석하기
struct thread_info 구조체는 프로세스 실행 흐름을 관리하는 중요한 정보를 저장합니다. 프로세스 스케줄링 실행 시 이전에 실행했던 레지스터 정보와 프로세스 컨택스트 정보를 이 구조체 필드에서 확인할 수 있습니다. struct thread_info 구조체 선언부 분석하기struct thread_info 구조체 선언부를 볼까요? [https://github.com/raspberrypi/linux/blob/rpi-4.19.y/arch/arm/include/asm/thread_info.h]struct thread_info { unsigned long flags; /* low level flags */ int preempt_count; /* 0 => preemptable, <0 =&g



