---
name: "mtrr_del"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/mtrr_del"
---

# mtrr\_del(9)

delete a memory type region

## NAME

mtrr\_del - delete a memory type region

## SYNOPSIS

**int mtrr\_del(int** *reg***, unsigned long** *base***, unsigned long** *size***);**

## ARGUMENTS

*reg*

Register returned by mtrr\_add

*base*

Physical base address

*size*

Size of region

## DESCRIPTION

If register is supplied then base and size are ignored. This is how drivers should call it.

Releases an MTRR region. If the usage count drops to zero the register is freed and the region returns to default state. On success the register is returned, on failure a negative error code.

## COPYRIGHT
