linux内核2.6研究
文章平均质量分 83
一枝春美食
这个作者很懒,什么都没留下…
展开
-
kernel---x86中计算struct thread——info偏移地址
/* X86_32 */ #include #define KERNEL_STACK_OFFSET (5*8) /* * macros/functions for gaining access to the thread information structure * preempt_count needs to be 1 initially, until the scheduler i原创 2014-09-19 20:46:16 · 984 阅读 · 0 评论 -
kernel---set_task_state(task,state)的研究『有关内存屏障问题』
此函数在中 #define set_task_state(tsk, state_value) \ set_mb((tsk)->state, (state_value))原创 2014-09-23 20:19:33 · 1280 阅读 · 0 评论