Scroll to navigation

INVALIDATE_INODE_PAG(9) Memory Management in Linux INVALIDATE_INODE_PAG(9)

NAME

invalidate_inode_pages2_range - remove range of pages from an address_space

SYNOPSIS

int invalidate_inode_pages2_range(struct address_space * mapping, pgoff_t start, pgoff_t end);

ARGUMENTS

struct address_space * mapping

the address_space

pgoff_t start

the page offset 'from' which to invalidate

pgoff_t end

the page offset 'to' which to invalidate (inclusive)

DESCRIPTION

Any pages which are found to be mapped into pagetables are unmapped prior to invalidation.

Returns -EBUSY if any pages could not be invalidated.

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11