Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Apr 1996 14:20:02 +0000
From:      Poul-Henning Kamp <phk@critter.tfs.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        freebsd-current@freefall.freebsd.org, kuku@gilberto.physik.rwth-aachen.de
Subject:   Re: calcru: negative time: 
Message-ID:  <3489.828454802@critter.tfs.com>
In-Reply-To: Your message of "Tue, 02 Apr 1996 23:17:57 %2B1000." <199604021317.XAA23396@godzilla.zeta.org.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
> >Alternatively, could we make a check in spl*() so that if splhigh has been
> >active >long< time we will print a warning ?
> 
> I plan to do this too.  This should only be enabled for debugging.  My
> current tests have been detecting lots of problems but haven't been any
> help for finding where the high latency comes from.  The problem should
> be reported by stopping at a breakpoint in spl0 or in doreti before the
> cpl has been reduced.  Then there will be a chance of seeing what set
> cpl high for too long.

Couldn't you just record the %eip in splhigh() ?

--
Poul-Henning Kamp           | phk@FreeBSD.ORG       FreeBSD Core-team.
http://www.freebsd.org/~phk | phk@login.dknet.dk    Private mailbox.
whois: [PHK]                | phk@ref.tfs.com       TRW Financial Systems, Inc.
Future will arrive by its own means, progress not so.



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