Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
arch
x86
mm
numa_64.c
Go to the documentation of this file.
1
/*
2
* Generic VM initialization for x86-64 NUMA setups.
3
* Copyright 2002,2003 Andi Kleen, SuSE Labs.
4
*/
5
#include <
linux/bootmem.h
>
6
7
#include "
numa_internal.h
"
8
9
void
__init
initmem_init
(
void
)
10
{
11
x86_numa_init
();
12
}
13
14
unsigned
long
__init
numa_free_all_bootmem
(
void
)
15
{
16
unsigned
long
pages
= 0;
17
int
i
;
18
19
for_each_online_node
(i)
20
pages +=
free_all_bootmem_node
(
NODE_DATA
(i));
21
22
pages +=
free_low_memory_core_early
(
MAX_NUMNODES
);
23
24
return
pages
;
25
}
Generated on Thu Jan 10 2013 13:21:30 for Linux Kernel by
1.8.2