Re: [PATCH v14 07/11] livepatch: Add atomic replace

From: Miroslav Benes
Date: Tue Dec 04 2018 - 10:27:49 EST



> -5.3. Disabling
> +5.3. Replacing
> +--------------
> +
> +All enabled patches might get replaced by a cumulative patch that
> +has the .replace flag set.
> +
> +Once the new patch is enabled and the 'transition" finishes then
> +all the functions (struct klp_func) associated with the replaced
> +patches are removed from the corresponding struct klp_ops. Also
> +the ftrace handler is unregistered and the struct klp_ops is
> +freed when the related function is not modified by the new patch
> +and func_stack list becomes empty.
> +
> +See Documentation/livepatch/cumulative-patches.txt for more details.

which is added later in the series.

The rest looks good, so

Acked-by: Miroslav Benes <mbenes@xxxxxxx>

M