rpc_malloc(9) centos man page | unix.com

Man Page: rpc_malloc

Operating Environment: centos

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 3.10 June 2014 RPC_MALLOC(9)
Related Man Pages
bio_alloc_bioset(9) - centos
kmalloc_array(9) - centos
usb_alloc_coherent(9) - centos
gearman_task_data_size(3) - debian
cpg_zcb_alloc(3) - centos
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
CentOS7 restoring file capabilities
Shopt -s histappend
Unsure why access time on a directory change isn't changing
Please Welcome Dave Munro to the Moderator Team!