shrink_active_range

Langue: en

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

shrink_active_range - Shrink an existing registered range of PFNs

SYNOPSIS

void __init shrink_active_range(unsigned int nid, unsigned long old_end_pfn, unsigned long new_end_pfn);

ARGUMENTS

nid

The node id the range is on that should be shrunk

old_end_pfn

The old end PFN of the range

new_end_pfn

The new PFN of the range

DESCRIPTION

i386 with NUMA use alloc_remap to store a node_mem_map on a local node. The map is kept at the end physical page range that has already been registered with add_active_range. This function allows an arch to shrink an existing registered range.