[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/6] accel/tcg: Restrict tb_flush_jmp_cache() from other acce
From: |
Richard Henderson |
Subject: |
Re: [PATCH 2/6] accel/tcg: Restrict tb_flush_jmp_cache() from other accelerators |
Date: |
Wed, 20 Jan 2021 19:55:11 -1000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 1/17/21 6:48 AM, Philippe Mathieu-Daudé wrote:
> tb_flush_jmp_cache() is only called within TCG accelerator,
> declare it locally.
>
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
> We could also inline it in cputlb.c, the single user.
> ---
Yes, I think we should move it to cputlb.c.
I have queued a patch to do so.
r~
- [PATCH 0/6] accel: Restrict TCG-specific code, Philippe Mathieu-Daudé, 2021/01/17
- [PATCH 1/6] accel/tcg: Make cpu_gen_init() static, Philippe Mathieu-Daudé, 2021/01/17
- [PATCH 2/6] accel/tcg: Restrict tb_flush_jmp_cache() from other accelerators, Philippe Mathieu-Daudé, 2021/01/17
- [PATCH 3/6] accel/tcg: Restrict tb_gen_code() from other accelerators, Philippe Mathieu-Daudé, 2021/01/17
- [PATCH 4/6] accel/tcg: Declare missing cpu_loop_exit*() stubs, Philippe Mathieu-Daudé, 2021/01/17
- Re: [PATCH 4/6] accel/tcg: Declare missing cpu_loop_exit*() stubs, Richard Henderson, 2021/01/21
- [RFC PATCH 5/6] accel/tcg: Restrict cpu_io_recompile() from other accelerators, Philippe Mathieu-Daudé, 2021/01/17