cvs commit: src/sys/sparc64/sparc64 counter.c

Ken Smith kensmith at FreeBSD.org
Thu Sep 30 07:30:30 PDT 2004


kensmith    2004-09-30 14:30:29 UTC

  FreeBSD src repository

  Modified files:
    sys/sparc64/sparc64  counter.c 
  Log:
  Set the tc_quality field of the struct before calling tc_init(), since
  the structure space had been obtained from malloc() its contents is
  random garbage.  The choice of value being set is part of a larger effort
  to solve some timecounter issues on MP machines (while working on that
  we noticed this problem).
  
  Noticed by:     marius
  Reviewed by:    marius, green
  MFC after:      3 days
  
  Revision  Changes    Path
  1.6       +2 -0      src/sys/sparc64/sparc64/counter.c


More information about the cvs-src mailing list