cvs commit: src/sys/compat/ndis kern_ndis.c src/sys/dev/acpica/Osd OsdSchedule.c src/sys/dev/ata ata-all.c atapi-cd.c atapi-tape.c src/sys/dev/ppc ppc.c

John Baldwin jhb at FreeBSD.org
Fri Feb 23 16:25:08 UTC 2007


jhb         2007-02-23 16:25:08 UTC

  FreeBSD src repository

  Modified files:
    sys/compat/ndis      kern_ndis.c 
    sys/dev/acpica/Osd   OsdSchedule.c 
    sys/dev/ata          ata-all.c atapi-cd.c atapi-tape.c 
    sys/dev/ppc          ppc.c 
  Log:
  Use 'pause' in several places rather than trying to tsleep() on NULL (which
  triggers a KASSERT) or local variables.  In the case of kern_ndis, the
  tsleep() actually used a common sleep address (curproc) making it
  susceptible to a premature wakeup.
  
  Revision  Changes    Path
  1.94      +1 -1      src/sys/compat/ndis/kern_ndis.c
  1.38      +1 -2      src/sys/dev/acpica/Osd/OsdSchedule.c
  1.279     +3 -3      src/sys/dev/ata/ata-all.c
  1.193     +3 -3      src/sys/dev/ata/atapi-cd.c
  1.103     +2 -2      src/sys/dev/ata/atapi-tape.c
  1.54      +1 -2      src/sys/dev/ppc/ppc.c


More information about the cvs-src mailing list