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
SHMAT(2) BSD System Calls Manual SHMAT(2)NAME
shmat, shmdt -- attach or detach shared memory
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <machine/param.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
void *
shmat(int shmid, const void *addr, int flag);
int
shmdt(const void *addr);
DESCRIPTION
The shmat() system call attaches the shared memory segment identified by shmid to the calling process's address space. The address where the
segment is attached is determined as follows:
o If addr is 0, the segment is attached at an address selected by the kernel.
o If addr is nonzero and SHM_RND is not specified in flag, the segment is attached the specified address.
o If addr is specified and SHM_RND is specified, addr is rounded down to the nearest multiple of SHMLBA.
The shmdt() system call detaches the shared memory segment at the address specified by addr from the calling process's address space.
RETURN VALUES
Upon success, shmat() returns the address where the segment is attached; otherwise, -1 is returned and errno is set to indicate the error.
The shmdt() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indicate
the error.
ERRORS
The shmat() system call will fail if:
[EINVAL] No shared memory segment was found corresponding to shmid.
[EINVAL] The addr argument was not an acceptable address.
The shmdt() system call will fail if:
[EINVAL] The addr argument does not point to a shared memory segment.
SEE ALSO shmctl(2), shmget(2)BSD August 2, 1995 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)