On 22.12.2021 at 22:44, Jakub Zelenka wrote:

> After thinking about this a bit more I think we would still need some way
> to provide the current functionality of the MINIT if that's moved on child
> level. The problem with not having such step is that opcache shm would be
> then segmented between children - each child process would have its own shm
> so it means that it would likely break things like opcache_reset that would
> work only for a single child but wouldn't have any impact on other
> children.

I think the children could still re-attach to OPcache (like on Windows),
and that might not even be that bad as on Windows (where ASLR can break
that).  However, forking late might break preloading (not sure), and
generally re-attaching isn't the nicest solution.

Christoph

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to