]> Sergey Matveev's repositories - public-inbox.git/commit
initial spawn implementation using vfork
authorEric Wong <e@80x24.org>
Sat, 27 Feb 2016 02:14:23 +0000 (02:14 +0000)
committerEric Wong <e@80x24.org>
Sat, 27 Feb 2016 10:58:22 +0000 (10:58 +0000)
commitca885bd5905b7faa9ecb7b0eb02476de1d3a7f88
treec4ae278dfb6825ae3e80eb4346c80fbab993c99e
parent2cc034627726da5c73c88d5ff7a8b136cc9ce759
initial spawn implementation using vfork

Under Linux, vfork maintains constant performance as
parent process size increases.  fork needs to prepare pages
for copy-on-write, requiring a linear scan of the address
space.
lib/PublicInbox/Spawn.pm [new file with mode: 0644]
lib/PublicInbox/SpawnPP.pm [new file with mode: 0644]
t/spawn.t [new file with mode: 0644]