translate-all: introduce assert_no_pages_locked
commitfaa9372c07d062eb01f9da72e3f6c0f32efffca7
authorEmilio G. Cota <cota@braap.org>
Fri, 23 Feb 2018 01:50:29 +0000 (22 20:50 -0500)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 15 Jun 2018 17:42:55 +0000 (15 07:42 -1000)
tree96b3a39266f5222e795c5f90e03b86c91e28384a
parent6d9abf85d538731ccff25fc29d7fa938115b1a80
translate-all: introduce assert_no_pages_locked

The appended adds assertions to make sure we do not longjmp with page
locks held. Note that user-mode has nothing to check, since page_locks
are !user-mode only.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/cpu-exec.c
accel/tcg/translate-all.c
include/exec/exec-all.h