KMEM_CACHE_ALLOC_NODE

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

kmem_cache_alloc_node - Allocate an object on the specified node  

SYNOPSIS

"SYNOPSIS"

void * kmem_cache_alloc_node (kmem_cache_t * cachep, int flags, int nodeid);  

ARGUMENTS

cachep
The cache to allocate from.
flags
See kmalloc.
nodeid
node number of the target node.
 

DESCRIPTION

Identical to kmem_cache_alloc, except that this function is slow and can sleep. And it will allocate memory on the given node, which can improve the performance for cpu bound structures.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:22 GMT, October 09, 2005