]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
hno squid-2.2.STABLE4.aio_cond_segfault-2.patch
authorhno <>
Wed, 3 May 2000 01:40:12 +0000 (01:40 +0000)
committerhno <>
Wed, 3 May 2000 01:40:12 +0000 (01:40 +0000)
Squid-2.2.STABLE4: Async-IO segfaults if AIO_PROPER_MUTEX isn't set

Async-IO on Linux segfaults in condition variables if given high load
and AIO_PROPER_MUTEX isn't set. This was seen on a SMP Alpha Linux
2.2.10-ac12 box. I knew there was a reason why I made the
AIO_PROPER_MUTEX code a long time ago..
[an incorrect version of this simple patch was already committed]

ChangeLog

index c08f8dd9bab17be23deae5f4e84ab7db8ca7f0b8..140bc0eca13f6fc0afaf0bd7c86615f8b87caaa8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -26,6 +26,9 @@ Changes to Squid-2.4.DEVEL3 ():
          rather than raw space, and platform support somewhat extended.
        - Logs destination IP in the hierarchy log tag when going direct.
          (can be disabled by turning log_ip_on_direct off)
+       - Async-IO on linux now makes proper use of mutexes. This fixes some
+         odd pthread segfaults on SMP Linux machines, at a slight performance
+         penalty.
 
 Changes to Squid-2.4.DEVEL2 ():