Commit Graph

14 Commits

Author SHA1 Message Date
fvdl 2277063aa8 Fix off-by one when computing page count in the test file. 2002-06-04 22:17:47 +00:00
wiz 73b98457c3 Fix two typos in residency check variables. 2002-04-07 11:25:40 +00:00
cgd 65a1026492 convert to use getprogname() 2001-02-19 22:43:42 +00:00
thorpej 4128c0f2b8 Explain why we can expect to have some resident pages even after an
MADV_FREE of a range in e.g. a SYSV SHM segment, and make such a
condition not a failure of the regression test.

Addresses kern/10115, submitted by Thomas Klausner.
2000-05-19 04:56:48 +00:00
mycroft 978f77c8fe Yet another check. 2000-01-24 00:39:17 +00:00
mycroft 80cd007209 Add more check_residency() calls. 2000-01-24 00:00:25 +00:00
thorpej 5839453a0d Oops, supply mode bits to shmget(2). 1999-08-06 23:40:10 +00:00
thorpej 678ef99d81 Check for shmat(2) failure correctly. 1999-08-06 23:01:41 +00:00
mjacob 55d3c9279d add in inclusion of file to get memset prototype declaration. 1999-07-21 21:46:17 +00:00
thorpej f6d7947c4b Add a test for mprotect()'ing a region from PROT_NONE to anything else
which is in an address space configured MCL_FUTURE.
1999-07-18 00:43:22 +00:00
thorpej b9aef1ceeb Add code which creates a System V shared memory segment, attaches to it,
makes it resident, MADV_FREE's it, and then checks to see that the pages
are indeed no longer resident.  This tests the uvm_aobj flush routine.
1999-07-17 06:01:52 +00:00
thorpej 11d1a47bbf Add some code to test sync'ing a PROT_WRITE+MAP_SHARED file. 1999-07-14 21:10:13 +00:00
thorpej 7089fc0a1d Add a few more tests. 1999-07-07 22:00:31 +00:00
thorpej 03826522e4 Add some pretty simple tests for various memory mapping facilities.
There's lots more work to do here, but this simple program found a
couple of problems which I've fixed recently.
1999-06-19 00:53:31 +00:00