New utility: print number of resident pages for a file
The proposed name is 'fincore', analogous to 'mincore(2)' - the syscall
that reveals which pages are resident for a given address range.
The program maps the file into memory and calls mincore() on the range.
Only 4K pages are supported.
Reviewed-by: Andrew Grieve <email@example.com>
Reviewed-by: Benoit L <firstname.lastname@example.org>
Commit-Queue: Egor Pasko <email@example.com>
Auto-Submit: Egor Pasko <firstname.lastname@example.org>
3 files changed