Subject: kern/34841: swapsys locks too much
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <christos@netbsd.org>
List: netbsd-bugs
Date: 10/17/2006 17:10:01
>Number: 34841
>Category: kern
>Synopsis: pstat -s blocks while swapctl -d is running
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Oct 17 17:10:00 +0000 2006
>Originator: Christos Zoulas
>Release: NetBSD 4.99.1
>Organization:
Losers Intl.
>Environment:
System: NetBSD rebar.astron.com 4.99.1 NetBSD 4.99.1 (ASTRON) #2: Fri Sep 8 15:10:53 EDT 2006 christos@rebar.astron.com:/usr/src/sys/arch/i386/compile/ASTRON i386
Architecture: i386
Machine: i386
>Description:
>How-To-Repeat:
On a machine that has swap in use
dd if=/dev/zero of=swap # enough for the swap space to fit.
swapctl -a swap
swapctl -d /dev/xxxx &
pstat -s # hangs while swapctl is moving the data
top # hangs
Activity resumes once swapctl is done.
>Fix: