qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3 01/41] tcg: Enhance flush_icache_range with separate data


From: Richard Henderson
Subject: Re: [PATCH v3 01/41] tcg: Enhance flush_icache_range with separate data pointer
Date: Fri, 6 Nov 2020 14:51:13 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 11/6/20 12:31 PM, Alex Bennée wrote:
>> +/* Flush the dcache at RW, and the icache at RX, as necessary. */
>> +static inline void flush_idcache_range(uintptr_t rx, uintptr_t rw, size_t 
>> len)
>>  {
>> -    __builtin___clear_cache((char *)start, (char *)stop);
>> +    /* TODO: Copy this from gcc to avoid 4 loops instead of 2. */
> 
> Why not do it now?

Do you really want to be including that into a patch that touches all host
backends?  I do it later, in a change by itself.

> I take it i386 is just too primitive to care about flushing things?

Or the reverse.  ;-)


r~



reply via email to

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