qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3 18/20] cputlb: Remove tb_invalidate_phys_page_range is_cpu


From: Paolo Bonzini
Subject: Re: [PATCH v3 18/20] cputlb: Remove tb_invalidate_phys_page_range is_cpu_write_access
Date: Mon, 23 Sep 2019 18:50:20 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

On 23/09/19 18:05, Richard Henderson wrote:
> On 9/23/19 1:52 AM, David Hildenbrand wrote:
>>> -    tb_invalidate_phys_page_range__locked(pages, p, start, end,
>>> -                                          is_cpu_write_access);
>>> +    tb_invalidate_phys_page_range__locked(pages, p, start, end, 0);
>>
>> I'd prefer "false" to highlight the semantics, but as it's and int ...
>>
>> Reviewed-by: David Hildenbrand <address@hidden>
> 
> I did think of that, but then the next patch changes this last argument to
> "uintptr_t retaddr", so then it's not really a boolean argument anymore, and
> "0" is exactly what we want.

Yeah, 0 is fine here.

Paolo




reply via email to

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