Re: posix-cpu-timers revamp

From: Frank Mayhar
Date: Tue Apr 08 2008 - 17:53:25 EST


On Tue, 2008-04-08 at 14:27 -0700, Frank Mayhar wrote:
> And, you guessed it, the invariant gets violated. Apparently the passed
> task_struct isn't the same as "current" at this point.
>
> Any ideas? Am I checking the wrong thing? If we're really not updating
> current then the task we are updating could very easily be running
> through __exit_signal() on another CPU. (And while I wait for your
> response I will of course continue to try to figure this out.)

Found the exception. do_fork() violates the invariant when it's
cranking up a new process. Hmmm.
--
Frank Mayhar <fmayhar@xxxxxxxxxx>
Google, Inc.

--
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/