qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] tci: Optimize saving of TCG code address


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH] tci: Optimize saving of TCG code address
Date: Tue, 29 Apr 2014 08:20:39 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

On 04/28/2014 10:57 PM, Stefan Weil wrote:
> -static tcg_target_ulong tci_reg[TCG_TARGET_NB_REGS];
> +static inline void save_tb_ptr(void *tb_ptr)
> +{
> +#ifdef CONFIG_SOFTMMU
> +    tci_tb_ptr = (uintptr_t)tb_ptr;
> +#endif
> +}
>  

Wouldn't it be better to save this always?

I'm a bit confused about how the SIGSEGV path works with TCI (not at all?), but
I have trouble believing that it ever could work without having this value
available.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]