Re: [PATCH 00/11] Task watchers: Introduction
From: Peter Williams
Date: Wed Jun 21 2006 - 07:32:43 EST
Matt Helsley wrote:
On Wed, 2006-06-21 at 15:41 +1000, Peter Williams wrote:
On a related note, I can't see where the new task's notify field gets
initialized during fork.
It's initialized in kernel/sys.c:notify_per_task_watchers(), which calls
RAW_INIT_NOTIFIER_HEAD(&task->notify) in response to WATCH_TASK_INIT.
I think that's too late. It needs to be done at the start of
notify_watchers() before any other watchers are called for the new task.
Peter
--
Peter Williams pwil3058@xxxxxxxxxxxxxx
"Learning, n. The kind of ignorance distinguishing the studious."
-- Ambrose Bierce
-
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/