Date: Fri, 23 Feb 2007 16:25:08 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: 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 Message-ID: <200702231625.l1NGP86A029885@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702231625.l1NGP86A029885>