Provided by: linux-doc-2.6.15_2.6.15-23.39_all bug

NAME

       kmem_cache_alloc_node - Allocate an object on the specified node

SYNOPSIS

       void * kmem_cache_alloc_node  (kmem_cache_t * cachep, gfp_t 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.

NEW AND IMPROVED

       it will now make sure that the object gets put on the correct node list
       so that there is no false sharing.