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

NAME

6       vm_unmap_aliases - unmap outstanding lazy aliases in the vmap layer
7

SYNOPSIS

9       void vm_unmap_aliases(void);
10

ARGUMENTS

12       void
13           no arguments
14

DESCRIPTION

16       The vmap/vmalloc layer lazily flushes kernel virtual mappings primarily
17       to amortize TLB flushing overheads. What this means is that any page
18       you have now, may, in a former life, have been mapped into kernel
19       virtual address by the vmap layer and so there might be some CPUs with
20       TLB entries still referencing that page (additional to the regular 1:1
21       kernel mapping).
22
23       vm_unmap_aliases flushes all such lazy mappings. After it returns, we
24       can be sure that none of the pages we have control over will have any
25       aliases from the vmap layer.
26
28Kernel Hackers Manual 3.10         June 2019               VM_UNMAP_ALIASES(9)
Impressum