/[qemu]
ViewVC logotype

Revision 5620


Jump to revision: Previous Next
Author: malc
Date: Tue Nov 4 14:18:13 2008 UTC (15 years ago)
Changed paths: 1
Log Message:
Add safety net against potential infinite loop

cpu_interrupt might be called while translating the TB, but before it
is linked into a potentially infinite loop and becomes env->current_tb.

Currently this can (and does) cause huge problems only when using
dyntick clock, with other (periodic) clocks host_alarm_handler will
eventually be executed resulting in a call to cpu_interrupt which will
reset the recursion of running TB and the damage is "only" latency.

Changed paths:

Path Details
Directorytrunk/cpu-exec.c modified , text changed

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.5