Re: [Qemu-devel] [PATCH 02/10] tcg: Pass last_tb by value to tb_find_fast()

2016-09-08 Thread Paolo Bonzini
On 08/09/2016 14:44, Alex Bennée wrote: >> > cpu->tb_flushed = false; /* reset before first TB lookup */ >> > for(;;) { >> > cpu_handle_interrupt(cpu, _tb); >> > -tb = tb_find_fast(cpu, _tb, tb_exit); >> > +tb =

Re: [Qemu-devel] [PATCH 02/10] tcg: Pass last_tb by value to tb_find_fast()

2016-09-08 Thread Alex Bennée
Paolo Bonzini writes: > From: Sergey Fedorov > > This is a small clean up. tb_find_fast() is a final consumer of this > variable so no need to pass it by reference. 'last_tb' is always updated > by subsequent cpu_loop_exec_tb() in cpu_exec(). > > @@

[Qemu-devel] [PATCH 02/10] tcg: Pass last_tb by value to tb_find_fast()

2016-07-19 Thread Paolo Bonzini
From: Sergey Fedorov This is a small clean up. tb_find_fast() is a final consumer of this variable so no need to pass it by reference. 'last_tb' is always updated by subsequent cpu_loop_exec_tb() in cpu_exec(). This change also simplifies calling cpu_exec_nocache() in