]> Devi Nivas Git - cs3210-lab1.git/commit
save cpus.intena in sched(), so we get the right EFLAGS.IF value once a
authorkolya <kolya>
Wed, 15 Oct 2008 05:01:39 +0000 (05:01 +0000)
committerkolya <kolya>
Wed, 15 Oct 2008 05:01:39 +0000 (05:01 +0000)
commit228e500a0c2b5a26492c84f73951a46c58c86509
tree5be5a0fd9c9ad4b60d471e3fb5ff3d187512dc9f
parent15ce79de141f66c7dd2f2948ce4584a2d31f7040
save cpus.intena in sched(), so we get the right EFLAGS.IF value once a
timer-preempted kernel thread resumes execution in trap() after yield().
otherwise the kernel could get an arbitrary number of nested timer intrs.
proc.c