| vfree(9) - phpMan
VFREE(9) Memory Management in Linux VFREE(9)
NAME
vfree - release memory allocated by vmalloc
SYNOPSIS
void vfree(const void * addr);
ARGUMENTS
addr
memory base address
DESCRIPTION
Free the virtually continuous memory area starting at addr, as obtained from vmalloc,
vmalloc_32 or __vmalloc. If addr is NULL, no operation is performed.
Must not be called in NMI context (strictly speaking, only if we don't have
CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG, but making the calling conventions for vfree
arch-depenedent would be a really bad idea)
NOTE
assumes that the object at *addr has a size >= sizeof(llist_node)
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 VFREE(9)
|