What does it mean to say “linux kernel is preemptive”?

前端 未结 9 1888
野性不改
野性不改 2020-12-08 14:02

I read that Linux kernel is preemptive, which is different from most Unix kernels. So, what does it really mean for a kernal to be preemptive?

Some analogies or exam

9条回答
  •  南方客
    南方客 (楼主)
    2020-12-08 14:59

    I think it became preemptive from 2.6. preemptive means when a new process is ready to run, the cpu will be allocated to the new process, it doesn't need the running process be co-operative and give up the cpu.

提交回复
热议问题