1INVALIDATE_MAPPING_P(9)   Memory Management in Linux   INVALIDATE_MAPPING_P(9)
2
3
4

NAME

6       invalidate_mapping_pages - Invalidate all the unlocked pages of one
7       inode
8

SYNOPSIS

10       unsigned long invalidate_mapping_pages(struct address_space * mapping,
11                                              pgoff_t start, pgoff_t end);
12

ARGUMENTS

14       mapping
15           the address_space which holds the pages to invalidate
16
17       start
18           the offset 'from' which to invalidate
19
20       end
21           the offset 'to' which to invalidate (inclusive)
22

DESCRIPTION

24       This function only removes the unlocked pages, if you want to remove
25       all the pages of one inode, you must call truncate_inode_pages.
26
27       invalidate_mapping_pages will not block on IO activity. It will not
28       invalidate pages which are dirty, locked, under writeback or mapped
29       into pagetables.
30
32Kernel Hackers Manual 2.6.       November 2011         INVALIDATE_MAPPING_P(9)
Impressum