Re: oprofile can cause an NMI to schedule (was: [RT] scheduling and oprofile)

Steven Rostedt
2006-10-24T12:55:38Z

On Tue, 24 Oct 2006, John Levon wrote:

> On Mon, Oct 23, 2006 at 10:24:34PM -0400, Steven Rostedt wrote:
>
>
> in_atomic() is supposed to be true in this context, so the test in
> do_page_fault() catches it.
>

/*
* If we're in an interrupt, have no user context or are running in an
* atomic region then we must not take the fault..
*/
if (in_atomic() || !mm)
goto bad_area_nosemaphore;

Ahh, missed that one. So this is an issue that _only_ rt needs to fix.
OK, thanks for pointing that out.

-- Steve