From nobody@hyperreal.com Thu Jun 5 14:59:00 1997 Received: (from nobody@localhost) by hyperreal.com (8.8.5/8.8.5) id OAA16446; Thu, 5 Jun 1997 14:59:00 -0700 (PDT) Message-Id: <199706052159.OAA16446@hyperreal.com> Date: Thu, 5 Jun 1997 14:59:00 -0700 (PDT) From: Igor Kovalenko Reply-To: infoh@mail.wplus.net To: apbugs@hyperreal.com Subject: mmap() support for scoreboard handling X-Send-Pr-Version: 3.2 >Number: 683 >Category: os-qnx >Synopsis: mmap() support for scoreboard handling >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Class: change-request >Submitter-Id: apache >Arrival-Date: Thu Jun 5 15:00:01 1997 >Last-Modified: Fri Aug 1 03:25:42 PDT 1997 >Originator: infoh@mail.wplus.net >Organization: >Release: 1.2 >Environment: QNX 4.23A Watcom C 10.6 >Description: QNX starting from v4.20 does support mmap() system call, just imposing some restrictions to an underlying file descriptor. This descriptor must be obtained by POSIX shn_open() call, then ltrunc() must be applied to set size of shared object. The object must be unlinked upon exit. That object can't be read/write/resized and must reside under /dev/shmem. Allowed operations with such fd are: open, close, stat, unlink. The mmap() itself works nice and above limitations are irrelevant to Apache as of v1.2, so I think it would be nice to add support, just for better performance. >How-To-Repeat: Nope. >Fix: Yes - I have modified version of http_main.c and conf.h. Changes are pretty minimal, few lines of code, surrounded by #ifdef QNX. I tested it and it works nice. I have "diff -n" output for Apache 1.2b11 and can do it for 1.2 as well >Audit-Trail: State-Changed-From-To: open-analyzed State-Changed-By: dgaudet State-Changed-When: Wed Jun 18 10:24:33 PDT 1997 State-Changed-Why: Waiting for user to submit patch. From: Dean Gaudet To: Igor Kovalenko Subject: Re: os-qnx/683: mmap() support for scoreboard handling Date: Wed, 18 Jun 1997 10:31:56 -0700 (PDT) Hi Igor, Is there any chance you could implement the changes you describe for mmap under qnx and send a patch? The only file that needs tweaking is http_main.c (well, and conf.h to add #define HAVE_QNX_MMAP or something like that). Thanks Dean State-Changed-From-To: analyzed-closed State-Changed-By: dgaudet State-Changed-When: Fri Aug 1 03:25:42 PDT 1997 State-Changed-Why: Committed to 1.3a1. Dean >Unformatted: