commit | 121dba50c4bd3632e5ea37257508366747fed27d | [log] [tgz] |
---|---|---|
author | Cyril Hrubis <chrubis@suse.cz> | Wed Feb 01 11:23:59 2017 +0100 |
committer | Cyril Hrubis <chrubis@suse.cz> | Wed Feb 01 11:30:38 2017 +0100 |
tree | 4975367385f3715764bfcaa5b4c137844c7d2663 | |
parent | 6c701a043f9da5c09f8a253729c87f4adf8b2849 [diff] |
madvise01: Fix MADV_FREE Currently MADV_FREE works only on anonymous pages. Also the test was passing a file descriptor to the MAP_ANONYMOUS mmap(), which is not wrong since the fd argument is ignored in that case, but it was mildly confusing. So now we pass -1 and the pointer variable is called amem instead of pfile which was confusing as well. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>