Re: [PATCH] Add a text_poke syscall v2

From: Oleg Nesterov
Date: Sat Nov 30 2013 - 13:27:57 EST


On 11/30, Oleg Nesterov wrote:
>
> First of all, this smp_wmb() is not clear.

Yes, but...

> However, do_int3() does preempt_conditional_sti() and this looks
> as if it can be called with irqs enabled?

Ah, please ignore, I misread preempt_conditional_sti(). It enables
irqs if they were enabled before the exception, unless I misread it
again.

Oleg.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/