diff options
author | peter <peter@FreeBSD.org> | 2004-03-14 02:06:28 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2004-03-14 02:06:28 +0000 |
commit | bd5efd46002ab435a3543c06a8463f93bf87b51e (patch) | |
tree | 571f9f9ac088cad74d9e9b00d76e0dc2eab6f9f4 /sys/sys/eventhandler.h | |
parent | 963c36c1956c741c098e14e7f7708ac1d78e187e (diff) | |
download | FreeBSD-src-bd5efd46002ab435a3543c06a8463f93bf87b51e.zip FreeBSD-src-bd5efd46002ab435a3543c06a8463f93bf87b51e.tar.gz |
Make the process_exit eventhandler run without Giant. Add Giant hooks
in the two consumers that need it.. processes using AIO and netncp.
Update docs. Say that process_exec is called with Giant, but not to
depend on it. All our consumers can handle it without Giant.
Diffstat (limited to 'sys/sys/eventhandler.h')
-rw-r--r-- | sys/sys/eventhandler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/eventhandler.h b/sys/sys/eventhandler.h index 3f623b2..c734c19 100644 --- a/sys/sys/eventhandler.h +++ b/sys/sys/eventhandler.h @@ -158,8 +158,8 @@ EVENTHANDLER_DECLARE(vm_lowmem, vm_lowmem_handler_t); /* * Process events - * process_fork handlers are called without Giant. - * exit/exec handlers are called with Giant. + * process_fork and exit handlers are called without Giant. + * exec handlers are called with Giant, but that is by accident. */ struct proc; |