qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] goal of tb_lock in cpu-exec?
@ 2015-01-08 16:25 Frederic Konrad
  0 siblings, 0 replies; only message in thread
From: Frederic Konrad @ 2015-01-08 16:25 UTC (permalink / raw)
  To: qemu-devel, mttcg; +Cc: Peter Maydell

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-01-08 16:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-08 16:25 [Qemu-devel] goal of tb_lock in cpu-exec? Frederic Konrad

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).