Re: Perhaps a side effect regarding NMI returns

From: Andi Kleen
Date: Tue Nov 29 2011 - 15:09:50 EST


Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> writes:

Not sure what problem Steven thinks is there. Once you
switched the stack any nesting is fine.

> I would suggest that the actual NMI handler itself should probably
> never use that paranoid exit at all, and just always use a regular
> iret. Screw scheduling and TIF checks.

The reason I added them originally is to prevent the race of remote
kernel events being delayed for a long time. With Frederic's nohz work
this will be more important in the future. Today it would be eventually
picked up by the regular timer interrupts.

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only
--
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/