Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Feb 2004 17:35:48 -0500
From:      John Baldwin <jhb@FreeBSD.org>
To:        Peter Wemm <peter@FreeBSD.org>, src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/amd64/amd64 cpu_switch.S
Message-ID:  <200402061735.48087.jhb@FreeBSD.org>
In-Reply-To: <200402062038.i16KcdXI027326@repoman.freebsd.org>
References:  <200402062038.i16KcdXI027326@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 06 February 2004 03:38 pm, Peter Wemm wrote:
> peter       2004/02/06 12:38:39 PST
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/amd64/amd64      cpu_switch.S
>   Log:
>   Remove the badsw* INVARIANTS checks.  The events that this attempts
>   to catch are already nicely caught by trapping the null pointer derefs.
>   Remove no-longer-used noswitch/nothrow strings.  They were referenced
>   by the stub cpu_switch() etc functions before they were implemented.
>   Try something a little different for the lock prefixes.
>
>   Prompted by:  bde (the first two items anyway)

We should kill them in i386, too.  Most of those asserts are now duplicated in 
mi_switch() (where they belong) anyways.

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402061735.48087.jhb>