9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] havetsc on terminal
@ 2013-06-18 23:39 cinap_lenrek
  0 siblings, 0 replies; only message in thread
From: cinap_lenrek @ 2013-06-18 23:39 UTC (permalink / raw)
  To: 9fans

> On Tue Jun 18 14:53:47 EDT 2013, cinap_lenrek@gmx.de wrote:
> > this is from the original archmp.c, i dont know why they use tsc
> > only on cpu kernel.
>
> i'd suggest deleting the test.  i found it was causing trouble, and
> i can't justify the condition.  it's as if tsc is expensive or something.
>
> - erik

context is the line from archmp.c:

- 	if(cpuserver && m->havetsc)
+ 	if(m->havetsc)
  		archacpi.fastclock = tscticks;

does anyone know why tsc is only used on cpuserver kernel?




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-06-18 23:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-18 23:39 [9fans] havetsc on terminal cinap_lenrek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).