---
name: "free_bootmem_with_active_regions"
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/free_bootmem_with_active_regions"
---

# free\_bootmem\_with\_active\_regions(9)

Call memblock\_free\_early\_nid for each active range

## NAME

free\_bootmem\_with\_active\_regions - Call memblock\_free\_early\_nid for each active range

## SYNOPSIS

**void free\_bootmem\_with\_active\_regions(int** *nid***, unsigned long** *max\_low\_pfn***);**

## ARGUMENTS

*nid*

The node to free memory on. If MAX\_NUMNODES, all nodes are freed.

*max\_low\_pfn*

The highest PFN that will be passed to memblock\_free\_early\_nid

## DESCRIPTION

If an architecture guarantees that all ranges registered contain no holes and may be freed, this this function may be used instead of calling **memblock\_free\_early\_nid** manually.

## COPYRIGHT
