Ivan wrote:
>
> Of course I didn't mean that malloc() calls the pageout daemon ... I
> simply meant that if no more memory space can be regained (in particular
> by killing a process) then at some point memory allocations will be
> refused -- or else, when does malloc() ever returns NULL ?!
When per-process limits have been reached.
> Or even simply send SIGTERM for instance before SIGKILL ... at least,
> that would be understood by many processes (such as the X server).
When the time comes to do a SIGKILL, nothing else should be used.
There is +NO+ memory free. A SIGTERM under these circunstances can
led to a deadlock (or else require disgustingly complex code).
--
Daniel C. Sobral (8-DCS)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
"Thus, over the years my wife and I have physically diverged. While
I have zoomed toward a crusty middle-age, she has instead clung
doggedly to the sweet bloom of youth. Naturally I think this unfair.
Yet, if it was the other way around, I confess I wouldn't be happy
either."
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message