Re: [PATCH v4 15/16] cputlb: Pass retaddr to tb_invalidate_phys_page_fast

2019-09-25 Thread Alex Bennée
Richard Henderson writes: > 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_

[PATCH v4 15/16] cputlb: Pass retaddr to tb_invalidate_phys_page_fast

2019-09-23 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