Re: [Qemu-devel] [PATCH v3 20/50] translate-all: notify plugin code of tb_flush

2019-06-17 Thread Richard Henderson
On 6/14/19 10:11 AM, Alex Bennée wrote: > From: "Emilio G. Cota" > > Plugins might allocate per-TB data that then they get passed each > time a TB is executed (via the *userdata pointer). > > Notify plugin code every time a code cache flush occurs, so > that plugins can then reclaim the memory o

[Qemu-devel] [PATCH v3 20/50] translate-all: notify plugin code of tb_flush

2019-06-14 Thread Alex Bennée
From: "Emilio G. Cota" Plugins might allocate per-TB data that then they get passed each time a TB is executed (via the *userdata pointer). Notify plugin code every time a code cache flush occurs, so that plugins can then reclaim the memory of the per-TB data. Reviewed-by: Alex Bennée Signed-o