cvs commit: src/sys/amd64/amd64 cpu_switch.S

John Baldwin jhb at
Fri Feb 6 14:41:17 PST 2004

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 at>  <><
"Power Users Use the Power to Serve"  =

More information about the cvs-src mailing list