centos man page for rpc_malloc

Query: rpc_malloc

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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
gearman_task_data(3) - debian
gearman_task_data_size(3) - debian
gearman_task_context(3) - debian
tapset::nfs_proc(3stap) - centos
tapset::rpc(3stap) - debian
Similar Topics in the Unix Linux Community
Best performance UNIX just for HOST Virtualization?
Shopt -s histappend
CentOS 6 ran out of space, need to reclaim it
[TIP] Processing YAML files with yq
Please Welcome Dave Munro to the Moderator Team!