Date: Tue, 15 May 2001 17:47:28 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 procfs_machdep.c src/sys/alpha/alpha procfs_machdep.c src/sys/ia64/ia64 procfs_machdep.c Message-ID: <200105160047.f4G0lSw73124@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2001/05/15 17:47:28 PDT Modified files: sys/i386/i386 procfs_machdep.c sys/alpha/alpha procfs_machdep.c sys/ia64/ia64 procfs_machdep.c Log: Lock the procfs functions for doing a single step and reading/writing registers better. Hold sched_lock not only for checking the flag but also while performing the actual operation to ensure the process doesn't get swapped out by another CPU while we the operation is being performed. Revision Changes Path 1.19 +20 -50 src/sys/i386/i386/procfs_machdep.c 1.8 +17 -29 src/sys/alpha/alpha/procfs_machdep.c 1.6 +17 -28 src/sys/ia64/ia64/procfs_machdep.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?200105160047.f4G0lSw73124>