goal of tb_lock in cpu-exec?
Hi everybody and happy new year,
I wondered what is the goal of tb_lock in cpu-exec.c.
According to the exec-all.h it's to protect tbs and page table but why do we have to cover the whole cpu_exec function?
I'm asking this because we planned to reuse tb_lock to protect every access to tb_ctx by replacing spinlock by QemuMutex.
Anybody has a clue?
Thanks,
Fred