Julian Elischer wrote:
> 
> to not be caught by surprise,
> simply touch every page after you allocate it.

It doesn't work. The application killed by reason of insufficient
resources is not (necessarily) the one that causes the page fault
leading to that.

Id est, if my application allocates all available memory, touching every
page, and then some other application touches a pre-allocated page not
backed by memory or swap, it is quite likely mine which will get killed.

-- 
Daniel C. Sobral                        (8-DCS)
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

        Acabou o hipismo-arte. Mas a desculpa brasileira mais ouvida em Sydney
e' que nao tem mais cavalo bobo por ai'.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to