Subject: CVS commit: src/usr.bin/top/machine
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 02/16/2006 20:50:57
Module Name:	src
Committed By:	christos
Date:		Thu Feb 16 20:50:57 UTC 2006

Modified Files:
	src/usr.bin/top/machine: m_netbsd15.c

Log Message:
Don't malloc/free the swap pointer with each refresh! Do it only if the
number of swap devices change. Now (and with the kvm fixes) top does not
allocate/free memory on each refresh.


To generate a diff of this commit:
cvs rdiff -r1.24 -r1.25 src/usr.bin/top/machine/m_netbsd15.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.