Re: [RFC][PATCH]: x86: clarify/fix no-op barriers for text_poke_bp()

From: Jiri Kosina
Date: Tue Aug 01 2017 - 05:12:55 EST


On Mon, 31 Jul 2017, Peter Zijlstra wrote:

> So I was looking at text_poke_bp() today and I couldn't make sense of
> the barriers there.
>
> How's for something like so?

Hm, agreed, the barrier after unsetting in_progress is superfluous, and
the comments are definitely more understandable this way; I probably
didn't have one of my best days when writing those back then.

Acked-by: Jiri Kosina <jkosina@xxxxxxx>

Thanks,

--
Jiri Kosina
SUSE Labs