2 ms·
POSIX doesn't require that fork() be implemented using copy-on-write techniques. An implementation is free to copy all of the parent's writable address space.
by cryptonector 5y ago
POSIX doesn't require that fork() be implemented using copy-on-write techniques. An implementation is free to copy all of the parent's writable address space.
- int_19h 5y agoAn implementation of fork() that doesn't do CoW would have borderline unusable perf in many real-world scenarios.
- cryptonector 5y agoIf the parent is a JVM, for sure. But a copy-on-write fork() still doesn't perform well. The point isn't to just copy the whole parent. The point is to stop copying at all.