|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [RFC PATCH V7 07/19] protect TBContext with tb_lock. |
Date: | Tue, 11 Aug 2015 10:34:06 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 |
On 11/08/2015 08:46, Frederic Konrad wrote: >> I think you should start easy and reuse the existing tb_lock code in >> cpu-exec.c: > > I think it's definitely not sufficient. Is user-mode multithread still > working today? For some definition of "working", yes. It's not sufficient, but it's a good start. The main problem with user-mode multithreading is that there is no clear lock hierarchy between mmap_lock and tb_lock. But this is not a problem for softmmu. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |