[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC 01/38] cpu-exec: add missing mmap_lock in tb_find_
From: |
Alex Bennée |
Subject: |
Re: [Qemu-devel] [RFC 01/38] cpu-exec: add missing mmap_lock in tb_find_slow |
Date: |
Mon, 07 Sep 2015 16:33:45 +0100 |
Emilio G. Cota <address@hidden> writes:
> Signed-off-by: Emilio G. Cota <address@hidden>
> ---
> cpu-exec.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/cpu-exec.c b/cpu-exec.c
> index f53475c..b8a11e1 100644
> --- a/cpu-exec.c
> +++ b/cpu-exec.c
> @@ -330,6 +330,7 @@ static TranslationBlock *tb_find_slow(CPUState *cpu,
> if (!tb) {
> tb = tb_gen_code(cpu, pc, cs_base, flags, 0);
> }
> + mmap_unlock();
> }
>
> /* we add the TB in the virtual pc hash table */
Fix the commit comment s/lock/unlock/ and you can have:
Reviewed-by: Alex Bennée <address@hidden>
--
Alex Bennée
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [RFC 01/38] cpu-exec: add missing mmap_lock in tb_find_slow,
Alex Bennée <=