commit | d7709391e53827dc0d2c85d8565b6470e8588ffd | [log] [tgz] |
---|---|---|
author | DAN LI <li.dan@cn.fujitsu.com> | Mon Jul 01 14:10:25 2013 +0800 |
committer | Cyril Hrubis <chrubis@suse.cz> | Mon Jul 01 20:22:21 2013 +0200 |
tree | 2c987020dca094fa42026cf4fd532e760dda080c | |
parent | 07acb1c9be9c0e8bbd83083637873c41e7087c89 [diff] |
mmap/mmap12.c: new case to test MAP_POPULATE of mmap Create test case for MAP_POPULATE of mmap. Verify the following statement "For a file mapping,this causes read-ahead on the file. Later accesses to the mapping will not be blocked by page faults." by mmap-ing a file and check if all pages are present. Signed-off-by: DAN LI <li.dan@cn.fujitsu.com> Reviewed-by: Jan Stancek <jstancek@redhat.com> Acked-by: Cyril Hrubis <chrubis@suse.cz>