.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "KMEM_CACHE_ALLOC_NODE" "9" "09 October 2005" "" "" .SH NAME kmem_cache_alloc_node \- Allocate an object on the specified node .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void * kmem_cache_alloc_node (kmem_cache_t * \fIcachep\fB, int \fIflags\fB, int \fInodeid\fB); \fR .SH "ARGUMENTS" .TP \fB\fIcachep\fB\fR The cache to allocate from. .TP \fB\fIflags\fB\fR See \fBkmalloc\fR\&. .TP \fB\fInodeid\fB\fR node number of the target node. .SH "DESCRIPTION" .PP 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.