Date: Mon, 15 Mar 2004 10:48:28 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern sys_process.c syscalls.master Message-ID: <200403151848.i2FImSFe047106@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2004/03/15 10:48:28 PST FreeBSD src repository Modified files: sys/kern sys_process.c syscalls.master Log: Drop the proc lock around calls to the MD functions ptrace_single_step(), ptrace_set_pc(), and cpu_ptrace() so that those functions are free to acquire Giant, sleep, etc. We already do a PHOLD/PRELE around them so that it is safe to sleep inside of these routines if necessary. This allows ptrace() to be marked MP safe again as it no longer triggers lock order reversals on Alpha. Tested by: wilko Revision Changes Path 1.118 +11 -6 src/sys/kern/sys_process.c 1.168 +1 -1 src/sys/kern/syscalls.master
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403151848.i2FImSFe047106>