From owner-cvs-src@FreeBSD.ORG Fri Apr 25 21:49:15 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1123537B405 for ; Fri, 25 Apr 2003 21:49:15 -0700 (PDT) Received: from mail26b.sbc-webhosting.com (mail26b.sbc-webhosting.com [216.173.237.56]) by mx1.FreeBSD.org (Postfix) with SMTP id 4B70743FDD for ; Fri, 25 Apr 2003 21:49:13 -0700 (PDT) (envelope-from alc@imimic.com) Received: from www.imimic.com (64.143.12.21)0691002534; Sat, 26 Apr 2003 00:48:54 -0400 (EDT) Sender: alc@FreeBSD.ORG Message-ID: <3EAA0FC1.CB973F5E@imimic.com> Date: Fri, 25 Apr 2003 23:49:05 -0500 From: "Alan L. Cox" Organization: iMimic Networking, Inc. X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: John Baldwin References: <200304251952.h3PJqUE5070448@repoman.freebsd.org> Content-Type: text/plain; charset=x-user-defined Content-Transfer-Encoding: 7bit X-Loop-Detect: 1 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/alpha/osf1 osf1_signal.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Apr 2003 04:49:15 -0000 John Baldwin wrote: > > jhb 2003/04/25 12:52:30 PDT > > FreeBSD src repository > > Modified files: > sys/alpha/osf1 osf1_signal.c > Log: > Lock Giant around calls to useracc() in osf1_sigreturn() so that the > function is MP safe. > > Revision Changes Path > 1.31 +5 -1 src/sys/alpha/osf1/osf1_signal.c The calls to useracc() should simply be eliminated because they are redundant. See, for example, any of the implementations of sigreturn in alpha/alpha/machdep.c. Regards, Alan