Path to this page:
Subject: CVS commit: pkgsrc/sysutils/memtester
From: Amitai Schlair
Date: 2005-03-22 01:07:36
Message id: 20050322000736.7C4352DA27@cvs.netbsd.org
Log Message:
Update to 4.0.5. From the changelog:
-change to the method of allocating and locking memory; if we get EPERM
when trying to mlock(), reset the amount of memory desired to the original
amount and try again without mlock(). The reason for this is that on many
systems, mlock() won't return EPERM until after having returned ENOMEM for
a larger amount. The new behaviour allows processes without mlock privileges
to still test the fully-specified amount or as much memory as can be
allocated. Thanks for the suggestion and testing to Dan Bradley.
Files: