...determine which pages of a mapping are currently resident in the buffer/page cache using mincore (2). Using MAP_FIXED safely The only safe use for MAP_FIXED is where the address…