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

>>> (Emmanuel Dreyfus) wrote

> I had a look at src/sys/uvm/uvm_glue.c changes bewteen netbsd-5 and
> -current. Revision 1.140-1.141 is interesting: netbsd-5 has a swappable
> u-area, and the change drops that "feature" to fix issues.
> The problem is documented in kern/38828
> Is it possible that mlockall() fail to wire the u-areas, leading to the
> problem again?
> The changeset is huge, but it does not only make the u-area unswappable.
> Is it reasonable to try to isolate that change and backport to netbsd-5?

"sysctl -w vm.swapout=0" helps you?

-- Takeshi Nakayama

Home | Main Index | Thread Index | Old Index