第三章 进程

进程描述符处理 #

thread_info和内核栈 #

表示方法: union thread_union{ struct thread_info thread_info; unsigned long stack[2048]; };

双向链表 #

内核维护了一个双向链表的数据结构,其可以用宏LIST_HEAD(list_name)进行创建。