Re: [PATCH v7 13/20] accel/tcg: Document the faulting lookup in tb_lookup_cmp

2022-08-30 Thread Ilya Leoshkevich
On Tue, 2022-08-23 at 15:05 -0700, Richard Henderson wrote: > It was non-obvious to me why we can raise an exception in > the middle of a comparison function, but it works. > While nearby, use TARGET_PAGE_ALIGN instead of open-coding. > > Signed-off-by: Richard Henderson > --- >  

[PATCH v7 13/20] accel/tcg: Document the faulting lookup in tb_lookup_cmp

2022-08-23 Thread Richard Henderson
It was non-obvious to me why we can raise an exception in the middle of a comparison function, but it works. While nearby, use TARGET_PAGE_ALIGN instead of open-coding. Signed-off-by: Richard Henderson --- accel/tcg/cpu-exec.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-)