summaryrefslogtreecommitdiffstats
path: root/contrib/libc++/src/memory.cpp
diff options
context:
space:
mode:
authorpho <pho@FreeBSD.org>2012-05-02 19:32:11 +0000
committerpho <pho@FreeBSD.org>2012-05-02 19:32:11 +0000
commit289be1b82dc1c71c989f44002aaeb68766a08cac (patch)
tree2c334da4f98da58a64d121ef27c1df0d6ec9214a /contrib/libc++/src/memory.cpp
parentd3b0b7e3924f0e1cd181ec3c05a0249362bd2e4f (diff)
downloadFreeBSD-src-289be1b82dc1c71c989f44002aaeb68766a08cac.zip
FreeBSD-src-289be1b82dc1c71c989f44002aaeb68766a08cac.tar.gz
Added D_TRACKCLOSE to sndstat_cdevsw to fix the situation when
another process is in open() or stat() for the device node, then close() from the owning process does not result in cdevsw close method call. This fixes the pemanent "Device busy" seen. Changed the sndstat_lock from mutex to sx. This allows to extend the region covered by the lock, to include the uiomove() call in sndstat_read() and bufptr increment. This fixes the "panic: sbuf_put_byte called with finished or corrupt sbuf" seen. In collaboration with: kib MFC after: 1 week
Diffstat (limited to 'contrib/libc++/src/memory.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud