From owner-cvs-all Tue May 15 17:47:31 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7C69637B422; Tue, 15 May 2001 17:47:28 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4G0lSw73124; Tue, 15 May 2001 17:47:28 -0700 (PDT) (envelope-from jhb) Message-Id: <200105160047.f4G0lSw73124@freefall.freebsd.org> From: John Baldwin Date: Tue, 15 May 2001 17:47:28 -0700 (PDT) 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 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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