Date: Mon, 5 May 2003 08:12:51 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/procfs procfs_dbregs.c procfs_fpregs.c procfs_regs.c Message-ID: <200305051512.h45FCp9P073950@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2003/05/05 08:12:51 PDT FreeBSD src repository Modified files: sys/fs/procfs procfs_dbregs.c procfs_fpregs.c procfs_regs.c Log: Clean up proc locking in procfs: make sure the proc lock is held before entering sys_process.c debugging primitives, or we violate assertions. Also, be more careful about releasing the process lock around calls to uiomove() which may sleep waiting for paging machinations or related notions. We may want to defer the uiomove() in at least one case, but jhb will look into that at a later date. Reported by: Philippe Charnier <charnier@xp11.frmug.org> Reviewed by: jhb Revision Changes Path 1.22 +4 -1 src/sys/fs/procfs/procfs_dbregs.c 1.28 +4 -1 src/sys/fs/procfs/procfs_fpregs.c 1.27 +4 -3 src/sys/fs/procfs/procfs_regs.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305051512.h45FCp9P073950>