Subject: Re: Heavy swapping causes deadlock in uvm_unlock_fpageq
To: Jason R Thorpe <thorpej@zembu.com>
From: Rick Byers <RickB@BigScaryChildren.net>
List: current-users
Date: 07/05/2001 10:58:28
On Thu, 5 Jul 2001, Jason R Thorpe wrote:

>  > I just started doing more memory intensive stuff (i.e. lots of swapping)
>  > on my NetBSD-1.5.1/i386 machine, and have been having problems with it
>  > hanging.  I can still switch virtual consoles and break into the debugger,
>  > but nothing else works.  Here is the stack trace:
>  > uvm_unlock_fpageq (+0x13)
>  > uvmpd_scan_inactive
>  > uvmpd_scan
>  > uvm_pageout
>  > start_pagedaemon
>
> ...uh, except uvm_unlock_fpageq() pretty much only does an "splx(s)" on
> uniprocessor systems.

Hmmm.. It must be in a loop higher up or something then.  Next time it
happens, I'll look more closely to find out what function its really stuck
in...