https://redmine.lighttpd.net/https://redmine.lighttpd.net/favicon.ico?13667327412007-03-03T04:04:00Zlighty labsLighttpd - Bug #1065: gthread_aio/posix_aio: mmap() fails on OS X.https://redmine.lighttpd.net/issues/1065?journal_id=25492007-03-03T04:04:00Zjwmcglynn
<ul></ul><p>After looking through manpages (<a class="external" href="http://ou800doc.caldera.com/en/man/html.2/mmap.2.html">http://ou800doc.caldera.com/en/man/html.2/mmap.2.html</a>), it appears that the only difference between using mmap with a /dev/zero fd and MAP_ANONYMOUS is speed, with MAP_ANONYMOUS being faster.</p>
<p>I'm adding this patch so that you can test it, it works on OS X and doesn't crash on Linux, but I haven't tested it on any other operating systems.</p> Lighttpd - Bug #1065: gthread_aio/posix_aio: mmap() fails on OS X.https://redmine.lighttpd.net/issues/1065?journal_id=25502007-03-03T07:59:33Zjwmcglynn
<ul></ul><p>See also: <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: network_posix_aio not working on Mac OS X (intel) - network-subsys sent us a fatal error (Fixed)" href="https://redmine.lighttpd.net/issues/966">#966</a></p> Lighttpd - Bug #1065: gthread_aio/posix_aio: mmap() fails on OS X.https://redmine.lighttpd.net/issues/1065?journal_id=25512007-04-13T12:56:44Zjwmcglynn
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Fixed</i></li><li><strong>Resolution</strong> set to <i>fixed</i></li></ul><p>Fixed in r1757.</p>