Date: Sat, 13 Apr 2002 11:51:25 +0930 From: Greg 'groggy' Lehey <grog@FreeBSD.org> To: John Baldwin <jhb@FreeBSD.org> Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/kern sys_process.c Message-ID: <20020413115125.E12778@wantadilla.lemis.com> In-Reply-To: <XFMail.20020412172048.jhb@FreeBSD.org> References: <200204122117.g3CLHcF92496@freefall.freebsd.org> <XFMail.20020412172048.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, 12 April 2002 at 17:20:48 -0400, John Baldwin wrote: > > On 12-Apr-2002 John Baldwin wrote: >> jhb 2002/04/12 14:17:38 PDT >> >> Modified files: >> sys/kern sys_process.c >> Log: >> Rework ptrace(2) to be more locking friendly. We do any needed copyin()'s >> and acquire the proctree_lock if needed first. Then we lock the process >> if necessary and fiddle with it as appropriate. Finally we drop locks and >> do any needed copyout's. This greatly simplifies the locking. > > I've tested this on i386 lightly (gdb still works for a trivial program as far > as breakpoints and running it.) Since gdb on alpha is busted this wasn't > tested on alpha. :-( I would appreciate if people would make sure I haven't > broken things. They shouldn't be broken in theory, but practice doesn't always > == theory. What's the status of gdb? This makes it sound as if it's broken. Am I misinterpreting? Greg -- See complete headers for address and phone numbers 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?20020413115125.E12778>