FREE_BOOTMEM_WITH_AC

Section: Memory Management in Linux (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

free_bootmem_with_active_regions - Call free_bootmem_node 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 free_bootmem_node
 

DESCRIPTION

If an architecture guarantees that all ranges registered with add_active_ranges contain no holes and may be freed, this this function may be used instead of calling free_bootmem manually.  

COPYRIGHT