---
name: "unmap_kernel_range"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/unmap_kernel_range"
---

# unmap\_kernel\_range(9)

unmap kernel VM area and flush cache and TLB

## NAME

unmap\_kernel\_range - unmap kernel VM area and flush cache and TLB

## SYNOPSIS

**void unmap\_kernel\_range(unsigned long** *addr***, unsigned long** *size***);**

## ARGUMENTS

*addr*

start of the VM area to unmap

*size*

size of the VM area to unmap

## DESCRIPTION

Similar to **unmap\_kernel\_range\_noflush** but flushes vcache before the unmapping and tlb after.

## COPYRIGHT
