Scroll to navigation

UNMAP_KERNEL_RANGE_N(9) Memory Management in Linux UNMAP_KERNEL_RANGE_N(9)

NAME

unmap_kernel_range_noflush - unmap kernel VM area

SYNOPSIS

void unmap_kernel_range_noflush(unsigned long addr, unsigned long size);

ARGUMENTS

addr

start of the VM area to unmap

size

size of the VM area to unmap

DESCRIPTION

Unmap PFN_UP(size) pages at addr. The VM area addr and size specify should have been allocated using get_vm_area and its friends.

NOTE

This function does NOT do any cache flushing. The caller is responsible for calling flush_cache_vunmap on to-be-mapped areas before calling this function and flush_tlb_kernel_range after.

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.