Hi all, I am wondering why we need to unlink tb when cpu_interrupt/cpu_exit is called, and want to know what happened if we don't unlink tb. In theory, QEMU want the execution flow comes back from code cache to QEMU itself so that interrupts can be handled as soon as possible. However, I ran linux-0.2.img with a modified QEMU whose cpu_unlink_tb does nothing. Everything seems work fine. Is this experiment too trivial to show what bad things happened when we don't unlink tb?
Thanks! :) Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj