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, Aug 29, 2011 at 03:49:09AM +0200, Emmanuel Dreyfus wrote:
 > > because those requests have ended up in your file server which is
 > > waiting for page daemon and thus deadlock?  just a wild guess, though.
 > 
 > So the right fix would be to have a uvm.user_paging count for pages from
 > non kernel FS, and exclude that count from the test?

The right fix is to not let the kernel wait for userspace. In this
case that's probably not trivial.

There's a reason userlevel file systems have never really taken off...

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index