Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 May 2000 16:16:26 +0200
From:      Dave Boers <djb@ifa.au.dk>
To:        Steve Passe <smp@csn.net>
Cc:        Karl Pielorz <kpielorz@tdx.co.uk>, smp@FreeBSD.ORG
Subject:   Re: hlt instructions and temperature issues
Message-ID:  <20000501161626.A4317@relativity.student.utwente.nl>
In-Reply-To: <200004301511.JAA16392@Ilsa.StevesCafe.com>; from smp@csn.net on Sun, Apr 30, 2000 at 09:11:12AM -0600
References:  <20000430163824.A1093@relativity.student.utwente.nl> <200004301511.JAA16392@Ilsa.StevesCafe.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 30, 2000 at 09:11:12AM -0600, Steve Passe wrote:
> Some with experience in this area should make a sysctl that changes the value
> of _hlt_vector, one that has the hlt, another that doesn't:
> 
> 	.globl	_hlt_vector
> #ifdef SMP
> _hlt_vector:	.long	_no_halt	/* pointer to halt routine */
> #else
> _hlt_vector:	.long	_real_halt	/* pointer to halt routine */
> #endif
> 
> ENTRY(no_halt)
> 	sti
> 	ret
> 
> ENTRY(real_halt)
> 	sti
> 	hlt
> 	ret
> 
>  ...
> 	call	*_hlt_vector			/* wait for interrupt */

This looks like an excellent proposal. Does anyone have comments, or could
someone with experience" in this area provide a patch?

> As I said before, its "weird".  I'm not ready to believe there is any speed
> increase yet...  I expected a decrease, I was just trying to determine how
> much...

Just came to my mind. There's another difference between your tests and
mine: you're running 5.0-CURRENT while I have 4.0-STABLE. 

Regards,

    Dave. 

-- 
 djb@ifa.au.dk                             d.j.boers@tn.utwente.nl
 PGP key: ftp://relativity.student.utwente.nl:/pub/pgpkeys/djb.asc
 In the land of the blind, the one-eyed man is murdered for heresy


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




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