News for hackers. Stuff that matters.
Re:In defence of swap: common misconceptions by duskwuff on Tuesday June 09, 2020 @03:53AM (#23464657)
> I think he's suggesting that the fork itself should fail if the subsequent overwrite pass to defeat CoW would cause problems.

That'd put you in the unusual position of forbidding any sufficiently large process from ever creating children. The kernel has no way of knowing whether a fork() will be followed by exec().

Re:In defence of swap: common misconceptions by hyperman1 on Tuesday June 09, 2020 @07:21AM (#23465584)
If posix_spawn is a syscall, it would be a decent replacement.