Scroll to navigation

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)

COPYRIGHT

April 2023 Kernel Hackers Manual 2.6.