tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: netbsd-5 deadlocks when memory is low

On Mon, Sep 05, 2011 at 09:17:29AM +0000, Emmanuel Dreyfus wrote:
> On Mon, Sep 05, 2011 at 10:46:50AM +0200, Manuel Bouyer wrote:
> > You have mlock(2) for this. I think ntpd uses it, you can have a look here.
> > Of course you don't want to mlock a big process ...
> Do you suggest to use mlock(NULL, (size_t)-1) ?



Home | Main Index | Thread Index | Old Index