Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Aug 1998 09:44:30 -0700 (PDT)
From:      Bruce Evans <bde@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   cvs commit: src/sys/i386/linux linux_misc.c
Message-ID:  <199808051644.JAA27360@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

bde         1998/08/05 09:44:30 PDT

  Modified files:
    sys/i386/linux       linux_misc.c 
  Log:
  Converted the second last instance of hzto() to tvtohz().
  
  Fixed nearby bugs (in linux_alarm()):
  - the itimer for the alarm was relative to the epoch instead of relative
    to the boot time.  This was harmless because the itimer's interval is 0.
  - the seconds arg was not checked for validity before converting it to a
    possibly different value.
  - printf format errors.
  
  Improvements:
  Don't use splclock().  splsoftclock() suffices.  Don't complicate things
  by micro-optimizing interrupt latency.
  
  Minor improvements:
  Various micro-optimizations to exploit the specialness of the alarm itimer
  and the value 0.
  
  Revision  Changes    Path
  1.41      +15 -20    src/sys/i386/linux/linux_misc.c



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