1VFREE(9)                  Memory Management in Linux                  VFREE(9)
2
3
4

NAME

6       vfree - release memory allocated by vmalloc
7

SYNOPSIS

9       void vfree(const void * addr);
10

ARGUMENTS

12       addr
13           memory base address
14

DESCRIPTION

16       Free the virtually continuous memory area starting at addr, as obtained
17       from vmalloc, vmalloc_32 or __vmalloc. If addr is NULL, no operation is
18       performed.
19
20       Must not be called in NMI context (strictly speaking, only if we don't
21       have CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG, but making the calling
22       conventions for vfree arch-depenedent would be a really bad idea)
23

NOTE

25       assumes that the object at *addr has a size >= sizeof(llist_node)
26
28Kernel Hackers Manual 3.10         June 2019                          VFREE(9)
Impressum