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 interrupt context.
COPYRIGHT Kernel Hackers Manual 2.6. July 2010 VFREE(9)
Check Out this Related Man Page
VSLOCK(9) BSD Kernel Developer's Manual VSLOCK(9)NAME
vslock, vsunlock -- lock/unlock user space addresses in memory
SYNOPSIS
#include <sys/param.h>
#include <sys/proc.h>
#include <vm/vm.h>
#include <vm/vm_extern.h>
int
vslock(void *addr, size_t len);
void
vsunlock(void *addr, size_t len);
DESCRIPTION
The vslock() and vsunlock() functions respectively lock and unlock a range of addresses belonging to the currently running process into mem-
ory. The actual amount of memory locked is a multiple of the machine's page size. The starting page number is computed by truncating addr
to the nearest preceding page boundary, and by rounding up addr + len to the next page boundary. The process context to use for this opera-
tion is taken from the global variable curproc.
RETURN VALUES
The vslock() function will return 0 on success, otherwise it will return one of the errors listed below.
ERRORS
The vslock() function will fail if:
[EINVAL] The addr and len parameters specify a memory range that wraps around the end of the machine address space.
[ENOMEM] The size of the specified address range exceeds the system limit on locked memory.
[ENOMEM] Locking the requested address range would cause the process to exceed its per-process locked memory limit.
[EFAULT] Some portion of the indicated address range is not allocated. There was an error faulting/mapping a page.
BSD August 10, 2004 BSD
Hi everyone, I use Fedora 17.
I used gparted to created a dev/sdb2 partition. I then used vgextend to extend the volume group. The output of vgdisplay shows the condition of my volume group:
--- Volume group ---
VG Name vg_data
System ID
Format ... (2 Replies)
Hi,
I have a server booted into sysresccd (mini-linux OS) with 1 40 GB disk attached
I am trying to create a volume group and restore another server into the new one
However, when I try to create a partition for /boot it seems that my VG in LVM is not recognized anymore
These are the... (2 Replies)
Hi Friends,
I have a host(Suse Linux 10.4) which has 2 luns presented from 2 different arrays HP eva and xp. we are planning to migrate hp eva to 3par. When i look for physical volume i see /dev/dm-4, /dev/dm-5, /dev/dm-7and when i look for multipath -ll i see dm-8,dm-9,dm-7. So i can't confirm... (6 Replies)
I've to install Oracle binaries (I'm oracle DBA) and for that I've extend swap space in my home computer. My situation is like this.
# parted -s /dev/sda print free
Model: ATA VBOX HARDDISK (scsi)
Disk /dev/sda: 38.7GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
... (1 Reply)
I've to install Oracle binaries (I'm oracle DBA) and for that I've extend swap space in my home computer. My situation is like this.
# parted -s /dev/sda print free
Model: ATA VBOX HARDDISK (scsi)
Disk /dev/sda: 38.7GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
... (8 Replies)
hello guys,
I just had some issues with a script it is giving some errors or warning like LV name root
what do i need to do to remove this directory from the existing logical volume
Thanks (3 Replies)