#include <linux/module.h>
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/memory.h>
#include <linux/vmstat.h>
#include <linux/node.h>
#include <linux/hugetlb.h>
#include <linux/compaction.h>
#include <linux/cpumask.h>
#include <linux/topology.h>
#include <linux/nodemask.h>
#include <linux/cpu.h>
#include <linux/device.h>
#include <linux/swap.h>
#include <linux/slab.h>
Go to the source code of this file.
#define NODE_CALLBACK_PRI 2 /* lower than SLAB */ |
postcore_initcall |
( |
register_node_type |
| ) |
|
int register_cpu_under_node |
( |
unsigned int |
cpu, |
|
|
unsigned int |
nid |
|
) |
| |
int register_one_node |
( |
int |
nid | ) |
|
int unregister_cpu_under_node |
( |
unsigned int |
cpu, |
|
|
unsigned int |
nid |
|
) |
| |
unregister_node - unregister a node device : node going away
Unregisters a node device . All the devices on the node must be unregistered before calling this function.
Definition at line 294 of file node.c.
void unregister_one_node |
( |
int |
nid | ) |
|