Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

vfree(9) [opensolaris man page]

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
Man Page

7 More Discussions You Might Find Interesting

1. Fedora

Problem Executing "lvcreate" Command

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)
Discussion started by: mojoman
2 Replies

2. Linux

Creating /boot partition for LVM VG

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)
Discussion started by: galuzan
2 Replies

3. UNIX for Dummies Questions & Answers

File System and Storage Array Confusion

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)
Discussion started by: munna529
6 Replies

4. UNIX for Advanced & Expert Users

Lv not useable after lvextend - high I/O

Hello, on an Ubuntu 12.04 NAS there are some lvm's VG #PV #LV #SN Attr VSize VFree vg01 1 2 0 wz--n- 930,45g 411,83g LV VG Attr LSize Origin Snap% Move Log Copy% Convert lv-iscsi vg01 -wi-a- 500,00g lv-root vg01... (0 Replies)
Discussion started by: darktux
0 Replies

5. Red Hat

Extending swap space

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)
Discussion started by: Mukul Sharma
1 Replies

6. Red Hat

Extending swap space

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)
Discussion started by: Mukul Sharma
8 Replies

7. Red Hat

RedHat LVM Error

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)
Discussion started by: DOkuwa
3 Replies