Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Dec 1997 08:32:36 -0800 (PST)
From:      Nate Williams <nate@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG
Subject:   cvs commit: src/sys/kern kern_clock.c src/sys/i386/apm apm.c
Message-ID:  <199712231632.IAA11214@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
nate        1997/12/23 08:32:35 PST

  Modified files:
    sys/kern             kern_clock.c 
    sys/i386/apm         apm.c 
  Log:
  This patch causes the "calltodo" timer list to be decremented by the amount
  of time that the laptop was suspending.  Thus, select() calls that might have
  suspended rather than firing  at 1hr + "time suspended" since the timer was
  posted.
  
  Adding:
  
      options  APM_FIXUP_CALLTODO
  
  to the kernel config enables the patch.
  
  [
  This patch was slightly modified to use a consistant indent style and
  I removed some unused local variables.  After this has been tested a
  few weeks we'll make the options the default, so for now I'm now
  documenting it in LINT.  Mike can later if he wants.
  ]
  
  Reviewed by:	Mike Smith <msmith@freebsd.org>
  Submitted by:	Ken Key  <key@cs.utk.edu>
  
  Revision  Changes    Path
  1.47      +68 -1     src/sys/kern/kern_clock.c
  1.67      +16 -2     src/sys/i386/apm/apm.c



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