cvs commit: src/sys/kern sys_process.c syscalls.master

Wilko Bulte wkb at freebie.xs4all.nl
Mon Mar 15 11:08:56 PST 2004


On Mon, Mar 15, 2004 at 10:48:28AM -0800, John Baldwin wrote:
> 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.

Someone with a SMP alpha box might also want to give this a spin I suppose.

-- 
Wilko Bulte				wilko at FreeBSD.org


More information about the cvs-all mailing list