sbrk(2) broken

Dag-Erling Smørgrav des at
Fri Jan 4 05:12:59 PST 2008

"Igor Mozolevsky" <igor at> writes:
> This makes memory management in the userland hideously and
> unnecessarily complicated. It's simpler to have SIGDANGER [...]

You don't seem to understand what Poul-Henning was trying to point out,
which is that broadcasting SIGDANGER can make a bad situation much, much
worse by waking up and paging in every single process in the system,
including processes that are blocked and wouldn't otherwise run for
several minutes, hours or even days (getty, inetd, sshd, mountd, even
nfsd / nfsiod in some cases can sleep for days at a time waiting for

Dag-Erling Smørgrav - des at

More information about the freebsd-current mailing list