Re: [PATCH] x86/alternatives: lockdep-enforce text_mutex in text_poke*()

From: Peter Zijlstra
Date: Tue Aug 28 2018 - 03:56:35 EST

On Tue, Aug 28, 2018 at 08:55:14AM +0200, Jiri Kosina wrote:
> From: Jiri Kosina <jkosina@xxxxxxx>
> text_poke() and text_poke_bp() must be called with text_mutex held.
> Let's put proper lockdep anotation in place instead of just mentioning
> the requirement in comment.

Thanks Jiri!

> Reported-by: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> Signed-off-by: Jiri Kosina <jkosina@xxxxxxx>

Acked-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>