]> git.proxmox.com Git - mirror_qemu.git/commit
cputlb: add assert_cpu_is_self checks
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 23 Feb 2017 18:29:16 +0000 (18:29 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 24 Feb 2017 10:32:46 +0000 (10:32 +0000)
commitf0aff0f124028aaaab24e5e53fb030d389766913
treeb1ce380d50a420c7efc6c34e0ced4cd63661dfcb
parent08e73c48b053566bfe0c994f154f73991cd0ff0e
cputlb: add assert_cpu_is_self checks

For SoftMMU the TLB flushes are an example of a task that can be
triggered on one vCPU by another. To deal with this properly we need to
use safe work to ensure these changes are done safely. The new assert
can be enabled while debugging to catch these cases.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
cputlb.c