current宏

current           是指當前進程 每個進程在內核態下都會開闢一個內核棧(8K或4K),一般大小爲8KB,一般每個任務的thread_info結構在它的內核棧的尾端分配。這個thread_info結構是指向task_struct的。 thread_info的代碼在<asm/thread_info.h> struct thread_info { struct task_struct *
相關文章
相關標籤/搜索