Re: [Qemu-devel] [PATCH 11/16] translate-all: add page_collection assertions

2018-03-29 Thread Alex Bennée
Emilio G. Cota writes: > The appended adds assertions to make sure we do not longjmp with page > locks held. Some notes: > > - user-mode has nothing to check, since page_locks are !user-mode only. > > - The checks only apply to page collections, since these have relatively > complex callers. >

[Qemu-devel] [PATCH 11/16] translate-all: add page_collection assertions

2018-02-26 Thread Emilio G. Cota
The appended adds assertions to make sure we do not longjmp with page locks held. Some notes: - user-mode has nothing to check, since page_locks are !user-mode only. - The checks only apply to page collections, since these have relatively complex callers. - Some simple page_lock/unlock callers