rpc_malloc(9) suse man page | unix.com

Man Page: rpc_malloc

Operating Environment: suse

Section: 9

RPC_MALLOC(9)							 Linux Networking						     RPC_MALLOC(9)

NAME
rpc_malloc - allocate an RPC buffer
SYNOPSIS
void * rpc_malloc(struct rpc_task * task, size_t size);
ARGUMENTS
task RPC task that will use this buffer size requested byte size
DESCRIPTION
To prevent rpciod from hanging, this allocator never sleeps, returning NULL if the request cannot be serviced immediately. The caller can arrange to sleep in a way that is safe for rpciod. Most requests are 'small' (under 2KiB) and can be serviced from a mempool, ensuring that NFS reads and writes can always proceed, and that there is good locality of reference for these buffers. In order to avoid memory starvation triggering more writebacks of NFS requests, we avoid using GFP_KERNEL.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 RPC_MALLOC(9)
Related Man Pages
kmalloc_array(9) - centos
iv_task(3) - debian
iv_task_register(3) - debian
iv_task_unregister(3) - debian
tapset::rpc(3stap) - debian
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Change directory error
Getting command output to putty window title.
Update kernel Linux without reboot?!
SOCKS proxy & PAM configuration exposure