Re: [RFC PATCH 09/26] x86/paravirt: Add runtime_patch()
From: Peter Zijlstra
Date: Wed Apr 08 2020 - 07:05:19 EST
On Tue, Apr 07, 2020 at 10:03:06PM -0700, Ankur Arora wrote:
> +/*
> + * preempt_enable_no_resched() so we don't add any preemption points until
> + * after the caller has returned.
> + */
> +#define preempt_enable_runtime_patch() preempt_enable_no_resched()
> +#define preempt_disable_runtime_patch() preempt_disable()
NAK, this is probably a stright preemption bug, also, afaict, there
aren't actually any users of this in the patch-set.