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: Richard Henderson
Subject: Re: [PATCH v3 18/20] cputlb: Remove tb_invalidate_phys_page_range is_cpu_write_access
Date: Mon, 23 Sep 2019 09:05:40 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

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.


r~




reply via email to

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