Re: [PATCH v3 19/20] cputlb: Pass retaddr to tb_invalidate_phys_page_fast

2019-09-23 Thread David Hildenbrand
On 22.09.19 05:54, Richard Henderson wrote: > Rather than rely on cpu->mem_io_pc, pass retaddr down directly. > > Within tb_invalidate_phys_page_range__locked, the is_cpu_write_access > parameter is non-zero exactly when retaddr would be non-zero, so that > is a simple replacement. > > Recognize

[PATCH v3 19/20] cputlb: Pass retaddr to tb_invalidate_phys_page_fast

2019-09-21 Thread Richard Henderson
Rather than rely on cpu->mem_io_pc, pass retaddr down directly. Within tb_invalidate_phys_page_range__locked, the is_cpu_write_access parameter is non-zero exactly when retaddr would be non-zero, so that is a simple replacement. Recognize that current_tb_not_found is true only when mem_io_pc (and