Manuel Bouyer <[email protected]> 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
http://hcpnet.free.fr/pubz
[email protected]

Reply via email to