Re: 2.6.8.1-mm1

From: Andrew Morton
Date: Tue Aug 17 2004 - 12:57:27 EST


Srivatsa Vaddagiri <vatsa@xxxxxxxxxx> wrote:
>
> I found this to be due to task leak in exit code. In release_task:
>
> a. Task is removed from task-list (unhash_process)
> b. More processing is done (like proc_pid_flush etc)
> before task finally dies.
>
> The problem is the task can get preempted between a and b.

It seems wrong that a task can be preempted so late in its lifetime. We're
just asking for nasty bugs by permitting that.
-
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/