Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/kern
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
On Dec 13, 2009, at 3:02 PM, David Laight wrote:
Module Name: src
Committed By: dsl
Date: Sun Dec 13 20:02:23 UTC 2009
Modified Files:
src/sys/kern: sys_pipe.c
Log Message:
Another, better, fix for PR/26567.
Only sleep once within each pipe_read/pipe_write call.
If there is no data/space available after we wakeup return ERESTART so
then the 'fd' number is validated again.
A simple broadcast of the cvs is then enough to evict the correct
threads
when close() is called from an active thread.
To generate a diff of this commit:
cvs rdiff -u -r1.124 -r1.125 src/sys/kern/sys_pipe.c
This causes spurious aborts with tar and gzip
For example tar tzf pkgsrc/distfiles/mysql-4.1.22.tar.gz aborts
halfway through but works fine with revision 1.124
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iQEVAwUBSyhwqcpnzkX8Yg2nAQJM/Af/ZMBPzJZOidkJ9FVeoI4CzJL/hiSUPfpz
8llCsasVE8pka09LDbldb6iwAjedE6JMgT21ioEgPZtxK0WY5rXYQBS8hOklqfRU
ogPiR/x0RAVsrr18qWeLgS+RYDqqOMv+lfGMdF/KALOvYr1b6SSzh+hVeF8sB51W
66isYECLb/5/5En4VrPKvV/izEnXmgGt4lHo/8COWx0tFE2JT8L46jUFb9vZ4sGO
Ig9uxklROrZVzDN/5KTMmN91aaWlkZ3wjjUaV94bCwBFjX5ciSPumrEqG09xsikq
9ldpB4fYEFJb628viVfFEuOYlOrTxY00XUrPTzbsUR9sx4Ov5+eydg==
=IJ9c
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index |
Old Index