摘要: 前面主要分析的是新建一个进程时,内核在调度方面进行的处理。现在来看当时钟中断时会发生的动作。当时钟中断发生时,顺着中断处理程序调用路线,会调用到scheduler_tick()/* * This function gets called by the timer code, with HZ frequency. * We call it with interrupts disabled. * *... 阅读全文
posted @ 2012-04-21 22:21 linyvxiang 阅读(1287) 评论(0) 推荐(0) 编辑