Re: [PATCH] notify_parent cleanup

From: OGAWA Hirofumi
Date: Wed Aug 18 2004 - 23:28:04 EST


Roland McGrath <roland@xxxxxxxxxx> writes:

> void
> notify_parent(struct task_struct *tsk, int sig)

[...]

> + BUG_ON(tsk->state != TASK_STOPPED);

task->state is changed anytime, right? Although the window is small,
I think we should remove it at least for right now.

> + read_lock(&tasklist_lock);
> + do_notify_parent_cldstop(tsk, tsk->parent);
> + read_unlock(&tasklist_lock);
> }
--
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
-
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/