Re: [PATCH] x86/entry/64: Context-track syscalls before enabling interrupts

From: Frederic Weisbecker
Date: Tue Aug 18 2015 - 18:16:36 EST


On Tue, Aug 18, 2015 at 12:11:59PM -0700, Andy Lutomirski wrote:
> This fixes a couple minor holes if we took an IRQ very early in syscall
> processing:
>
> - We could enter the IRQ with CONTEXT_USER. Everything worked (RCU
> was fine), but we could warn if all the debugging options were
> set.

So this is fixing issues after your changes that call user_exit() from
IRQs, right?

But the IRQs aren't supposed to call user_exit(), they have their own hooks.
That's where the real issue is.
--
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/