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

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 ...

You meant mlockall(2)

It seemed to work, but after intensive testing I still see deadlocks,
and a printf added in uvm_swapout() shows that perfused still gets
swaped out despite the mlockall call. Is that a bug?

This is on netbsd-5. 

Emmanuel Dreyfus

Home | Main Index | Thread Index | Old Index