[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] goal of tb_lock in cpu-exec?
From: |
Frederic Konrad |
Subject: |
[Qemu-devel] goal of tb_lock in cpu-exec? |
Date: |
Thu, 08 Jan 2015 17:25:58 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] goal of tb_lock in cpu-exec?,
Frederic Konrad <=