[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC 09/48] tcg: reset runtime helpers when flushing th
From: |
Emilio G. Cota |
Subject: |
Re: [Qemu-devel] [RFC 09/48] tcg: reset runtime helpers when flushing the code cache |
Date: |
Wed, 14 Nov 2018 12:59:43 -0500 |
User-agent: |
Mutt/1.9.4 (2018-02-28) |
On Wed, Nov 14, 2018 at 17:01:13 +0000, Alex Bennée wrote:
>
> Emilio G. Cota <address@hidden> writes:
>
> > In preparation for adding plugin support. One of the clean-up
> > actions when uninstalling plugins will be to flush the code
> > cache. We'll also have to clear the runtime helpers, since
> > some of those runtime helpers may belong to the plugin
> > being uninstalled.
> >
> > Signed-off-by: Emilio G. Cota <address@hidden>
> > ---
(snip)
> > +void tcg_reset_runtime_helpers(void);
>
> I know tcg.h doesn't have and API doc blocks but perhaps we should
> start?
>
> /**
> * tcg_reset_runtime_helpers:
> *
> * Remove all runtime registered helpers. Should only be called from a
> * quiescent system while flushing old code.
> */
Better late than never. Added to v2.
(snip)
> Otherwise:
>
> Reviewed-by: Alex Bennée <address@hidden>
Thanks,
E.