Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jun 2001 18:18:48 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   RE: cvs commit: src/sys/alpha/alpha trap.c src/sys/i386/i386 tra
Message-ID:  <Pine.BSF.4.21.0106231804420.46668-100000@besplex.bde.org>
In-Reply-To: <XFMail.010622164122.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0106231804420.46668-100000>