From owner-cvs-all Wed Jan 24 2:23:39 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 889EC37B401; Wed, 24 Jan 2001 02:23:21 -0800 (PST) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0OANLw06672; Wed, 24 Jan 2001 02:23:21 -0800 (PST) (envelope-from jhb) Message-Id: <200101241023.f0OANLw06672@freefall.freebsd.org> From: John Baldwin Date: Wed, 24 Jan 2001 02:23:21 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha trap.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jhb 2001/01/24 02:23:21 PST Modified files: sys/alpha/alpha trap.c Log: - Change userret() to take a struct trapframe * as its second argument and to extract the PC from that to send to addupc_task() so that it can be called from MI code. - Remove all traces of have_giant with extreme prejudice and use mtx_owned(&Giant) instead where appropriate. - Proc locking. - P_FOO -> PS_FOO. - Don't grab Giant just to look in curproc's p_addr during a trap since we may choose to immediately exit. Instead, delay grabbing Giant a bit until we actually need it. - Don't reset 'p' to 'curproc' in syscall() to handle the case of a child returning from fork1() since children don't return via syscall(). - Remove an XXX comment in ast() that questions the correctness of the userland check. The code is correct. Revision Changes Path 1.40 +62 -60 src/sys/alpha/alpha/trap.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message