Re: readfile() improvements
| From: | Alexander Valyalkin | Date: | Mon, 07 Jun 2004 14:35:39 +0000 |
| Subject: | Re: readfile() improvements | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-10298@lists.php.net to get a copy of this message | ||
On Mon, 7 Jun 2004 10:19:09 -0400, Ilia Alshanetsky <ilia@prohost.org> wrote:
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. IliaThanks for good explanation -- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/