]> www.infradead.org Git - qemu-nvme.git/commit
tcg: Merge buffer protection and guard page protection
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 10 Mar 2021 23:27:49 +0000 (17:27 -0600)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 14 Jun 2021 00:42:40 +0000 (17:42 -0700)
commit22c6a9938f7515a2c05fb7dea128e2e305953115
treee11f48a033dac115c4ce52d3071470e65ec2cf7c
parentba22783d6ef821551360890a025cd29b2444e948
tcg: Merge buffer protection and guard page protection

Do not handle protections on a case-by-case basis in the
various alloc_code_gen_buffer instances; do it within a
single loop in tcg_region_init.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/region.c