In the mmap-testing backend program, read the mmap'ed file completely.
authorErez_Zadok <ezk@cs.sunysb.edu>
Sat, 14 Jul 2007 07:46:13 +0000 (03:46 -0400)
committerErez_Zadok <ezk@cs.sunysb.edu>
Sat, 14 Jul 2007 07:46:13 +0000 (03:46 -0400)
commitd08565c651b03a9ad1f4f9612d98737aa5fdcd62
treeb348987bfc57f927a7c39274071d2880b5224943
parent95cc46689b26785088040460e073cada015359d1
In the mmap-testing backend program, read the mmap'ed file completely.

Instead of reading just the first byte of the file, read a few bytes in each
page, all the way to the end of the file, so we touch the entire file.  This
is useful to simulate memory-pressure conditions.
progs/mapper.c