Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Feb 2002 20:47:07 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Julian Elischer <julian@elischer.org>
Cc:        arch@FreeBSD.ORG
Subject:   Re: timing results for gettimeofday() (without any credential fixes)
Message-ID:  <15473.44699.351070.683358@grasshopper.cs.duke.edu>
In-Reply-To: <Pine.BSF.4.21.0202181318501.52663-100000@InterJet.elischer.org>
References:  <15473.27469.127329.884265@grasshopper.cs.duke.edu> <Pine.BSF.4.21.0202181318501.52663-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Julian Elischer writes:
 > turn off invariants to get the fast path on syscalls

Not on alpha.  There's no #ifdef INVARIANTS around the crfree stuff
there.  There probably should be.

Anyway, on alpha a kernel w/INVARIANTS_SUPPORT but w/o INVARIANTS
crashes on boot in the first trap:

<..>
Mounting root from ufs:/dev/da0a
da0 at isp0 bus 0 target 1 lun 0
da0: <DEC RZ1BA-BS (C) DEC 3001> Fixed Direct Access SCSI-2 device 
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged
Queueing Enabled
da0: 2007MB (4110480 512 byte sectors: 255H 63S/T 255C)
panic: already have a ucred
panic
Stopped at      Debugger+0x34:  zapnot  v0,#0xf,a0 <v0=0x0,a0=0x6>
db> tr
Debugger() at Debugger+0x34
panic() at panic+0x100
trap() at trap+0xa0
XentMM() at XentMM+0x2c
--- memory management fault (from ipl 0) ---
--- user mode ---
db> show pcpu
cpuid        = 0
curthread    = 0xfffffe0009a69820: pid 1 "init"
curpcb       = 0x829e58
fpcurthread  = none
idlethread   = 0xfffffe0009a692c0: pid 10 "idle"
ipis         = 0x0
next ASN     = 3
db>

This may very well be the first trap the process takes.

Drew

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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