Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jul 2001 15:26:52 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        Lars Eggert <larse@ISI.EDU>
Cc:        Mike Smith <msmith@freebsd.org>, Peter Pentchev <roam@orbitel.bg>, arch@freebsd.org, hardware@freebsd.org
Subject:   Re: New hw.cpuhz sysctl as per PR i386/27627 
Message-ID:  <200107062226.f66MQra02267@mass.dis.org>
In-Reply-To: Your message of "Fri, 06 Jul 2001 15:09:53 PDT." <3B463731.2090001@isi.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Mike Smith wrote:
> 
> > CPU speeds aren't constants; this is probably not the right place to put 
> > it.  It also assumes there's only one CPU, which isn't acceptable.
> 
> Being the author of the original patch, I agree that its a hack - but 
> it's better than nothing :-) Plus, it doesn't necessarily assume only 
> one CPU - it does assume they all have the same fixed speed though.

It doesn't seem to serve much useful purpose; the information is already 
available to the user in the boot-time message buffer, and it's not 
useful as a number to a running process.

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E



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?200107062226.f66MQra02267>