centos man page for unmap_mapping_range

Query: unmap_mapping_range

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

UNMAP_MAPPING_RANGE(9)					    Memory Management in Linux					    UNMAP_MAPPING_RANGE(9)

NAME
unmap_mapping_range - unmap the portion of all mmaps in the specified address_space corresponding to the specified page range in the underlying file.
SYNOPSIS
void unmap_mapping_range(struct address_space * mapping, loff_t const holebegin, loff_t const holelen, int even_cows);
ARGUMENTS
mapping the address space containing mmaps to be unmapped. holebegin byte in first page to unmap, relative to the start of the underlying file. This will be rounded down to a PAGE_SIZE boundary. Note that this is different from truncate_pagecache, which must keep the partial page. In contrast, we must get rid of partial pages. holelen size of prospective hole in bytes. This will be rounded up to a PAGE_SIZE boundary. A holelen of zero truncates to the end of the file. even_cows 1 when truncating a file, unmap even private COWed pages; but 0 when invalidating pagecache, don't throw away private data.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 UNMAP_MAPPING_RANGE(9)
Related Man Pages
mpage_readpages(9) - suse
munmap(2) - opensolaris
write_cache_pages(9) - centos
mincore(2) - debian
mincore(2) - minix
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
DB2 convert digits to binary format
Unsure why access time on a directory change isn't changing
CentOS 6 ran out of space, need to reclaim it
Controlling user input