OSDN Git Service

tcg: Sink qemu_madvise call to common code
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 10 Mar 2021 23:01:46 +0000 (17:01 -0600)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 14 Jun 2021 00:42:40 +0000 (17:42 -0700)
commitcd9ea992e99b231f8065d66ae19a643673f70eed
tree03c06d82b56cb56d201a08040d3b19a6d4e46b09
parent7be9ebcf924c04b22f4c4cf990f51da4259b07c3
tcg: Sink qemu_madvise call to common code

Move the call out of the N versions of alloc_code_gen_buffer
and into 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