Re: readfile() improvements
| From: | Ilia Alshanetsky | Date: | Mon, 07 Jun 2004 14:19:09 +0000 |
| Subject: | Re: readfile() improvements | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-10296@lists.php.net to get a copy of this message | ||
IMO Adding additional error reporting is a good idea, but we should keep
MAP_SHARED as the mmap mode. In Apache environment if the file is mapped by
more then one process the memory needed to map the file is shared, rather
then each fork allocating it's own copy. Unless we decide to make this a SAPI
based option, I think we should keep it at MAP_SHARED.
Ilia