From owner-cvs-all Sat Jun 23 1:20:48 2001 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 8762337B401; Sat, 23 Jun 2001 01:20:43 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id SAA14511; Sat, 23 Jun 2001 18:20:40 +1000 Date: Sat, 23 Jun 2001 18:18:48 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: John Baldwin Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: RE: cvs commit: src/sys/alpha/alpha trap.c src/sys/i386/i386 tra In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 22 Jun 2001, John Baldwin wrote: > At some point userret() and ast() really should be moved to a MI location. > userret() is already identical on all platforms, and ast() just needs one MD > macro for assigning the proper member of p_md to the passed in trapframe so > signals work for it to be MI. It would make updating these easier as well as > hopefully making it easier for new ports. ast() may need more than that. It already uses MD code for the defined(NPX) && !defined(SMP) case on i386's. My version of ast() doesn't use the mtr_intr_enable() wart for i386's, but other arches still need it. userret() has become very inefficient. I plan to remove the signal handling in it to ast(), and then it will be almost null. luoqi implemented this for SMPog. This is a MI optimization, but won't be so easy if ast() has to remain MD. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message