Date: Fri, 11 Oct 2002 14:04:01 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_exec.c Message-ID: <200210112104.g9BL41ok009403@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2002/10/11 14:04:01 PDT
Modified files:
sys/kern kern_exec.c
Log:
- Move the 'done1' label down below the unlock of the proc lock and move
the locking of the proc lock after the goto to done1 to avoid locking
the lock in an error case just so we can turn around and unlock it.
- Move the exec_setregs() stuff out from under the proc lock and after
the p_args stuff. This allows exec_setregs() to be able to sleep or
write things out to userland, etc. which ia64 does.
Tested by: peter
Revision Changes Path
1.193 +9 -10 src/sys/kern/kern_exec.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210112104.g9BL41ok009403>
