Re: [PATCH v4 07/17] x86/traps: Assert that we're in CONTEXT_KERNEL in exception entries

From: Borislav Petkov
Date: Tue Jun 30 2015 - 13:16:00 EST


On Tue, Jun 30, 2015 at 10:08:00AM -0700, Andy Lutomirski wrote:
> I would agree, except that I remove the exception_enter calls later in
> the series, so that wouldn't work.

Ah.

> Maybe we should move them into common code outside the specific
> exception handlers (idtentry?) when the dust settles.

Yeah, that macro is huge but it could survive yet another CALL <func>.

:-)

Thanks.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--
--
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/