Subject: kern/12371: swapctl -U (or -d ...) doesn't update process information
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mason@primenet.com.au>
List: netbsd-bugs
Date: 03/10/2001 19:12:23
>Number:         12371
>Category:       kern
>Synopsis:       swapctl -U (or -d ...) doesn't update process information
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 10 00:13:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Geoff C. Wing
>Release:        20010309
>Organization:
Geoff Wing : <gcw@pobox.com>
Rxvt Stuff : <gcw@rxvt.org>
Zsh Stuff  : <gcw@zsh.org>
>Environment:
System: NetBSD c.primenet.com.au 1.5S NetBSD 1.5S (C) #0: Fri Mar 9 16:48:02 EST 2001 mason@c.primenet.com.au:/usr/netbsd/src/sys/arch/i386/compile/C i386
Architecture: i386
Machine: i386
>Description:
	When a "swapctl -U" is issued, pages are swapped back in.  But "ps"
	and "top" still indicate processes as swapped out.  Maybe this is
	because the text parts are unloaded still, though "rss" from "ps"
	(or "RES" from "top") is still giving a base number.
	# swapctl -U
	% ps 744 -u
	USER   PID %CPU %MEM VSZ RSS TT STAT STARTED    TIME COMMAND
	mason  744  0.0  0.0 400   4 p0 IWs+       - 0:00.00 zsh

	So why isn't all the memory this process has malloc()d being
	presented here?

>How-To-Repeat:
	obvious
>Fix:
	?
>Release-Note:
>Audit-Trail:
>Unformatted: