summaryrefslogtreecommitdiff
path: root/lib/libc/sys/madvise.2
Commit message (Collapse)AuthorAgeFilesLines
* MFC: introduce .Lb macro to libc manpagesAlexey Zelkin2000-04-221-0/+2
| | | | Notes: svn path=/stable/4/; revision=59521
* Add MAP_NOCORE to mmap(2), and MADV_NOCORE and MADV_CORE to madvise(2).Paul Saab2000-02-281-0/+6
| | | | | | | | | | | | | | | This This feature allows you to specify if mmap'd data is included in an application's corefile. Change the type of eflags in struct vm_map_entry from u_char to vm_eflags_t (an unsigned int). Reviewed by: dillon,jdp,alfred Approved by: jkh Notes: svn path=/head/; revision=57550
* Add MAP_NOSYNC feature to mmap(), and MADV_NOSYNC and MADV_AUTOSYNC toMatthew Dillon1999-12-121-0/+27
| | | | | | | | | | | | | | | | | | | | madvise(). This feature prevents the update daemon from gratuitously flushing dirty pages associated with a mapped file-backed region of memory. The system pager will still page the memory as necessary and the VM system will still be fully coherent with the filesystem. Modifications made by other means to the same area of memory, for example by write(), are unaffected. The feature works on a page-granularity basis. MAP_NOSYNC allows one to use mmap() to share memory between processes without incuring any significant filesystem overhead, putting it in the same performance category as SysV Shared memory and anonymous memory. Reviewed by: julian, alc, dg Notes: svn path=/head/; revision=54467
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Spelling nits.Joseph Koshy1998-06-061-2/+2
| | | | | | | Pointed out by: Sue Blake <sue@welearn.com.au> Notes: svn path=/head/; revision=36688
* Fix a bunch of spelling errors.Steve Price1998-06-041-2/+2
| | | | | | | | PR: 6856 Submitted by: Josh Gilliam <josh@quick.net> Notes: svn path=/head/; revision=36649
* Convert caddr_t --> void * for sys/mman.h functions.Alexander Langer1997-12-311-2/+2
| | | | | | | | | | | | | | | | | | | mlock, mmap, mprotect, msync, munlock, and munmap are defined by POSIX as taking void *. The const modifier has been added to mlock, munlock, and mprotect as the standard dictates. minherit comes from OpenBSD and has been updated to conform with their recent change to void *. madvise and mincore are not defined by POSIX, but their arguments have been modified to be consistent with the POSIX-defined functions. mincore takes a const pointer, but madvise does not due to the MADV_FREE case. Discussed with: bde Notes: svn path=/head/; revision=32131
* Fixed formatting of the MADV_FREE flag description.Alexander Langer1997-12-301-3/+3
| | | | | | | Pointed out by: bde Notes: svn path=/head/; revision=32118
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22993
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Some mdoc cleanup. Also added a RETURN VALUES and ERRORSMike Pritchard1997-01-111-22/+45
| | | | | | | | | section. Part of PR# 1493. Notes: svn path=/head/; revision=21562
* delete doubled words, e.g.: "the the" -> "the"Wolfram Schneider1996-10-051-1/+2
| | | | Notes: svn path=/head/; revision=18718
* Correctly use .Fn instead of .Nm to reference function namesMike Pritchard1996-08-221-2/+3
| | | | | | | | | | | in a bunch of man pages. Use the correct .Bx (BSD UNIX) or .At (AT&T UNIX) macros instead of explicitly specifying the version in the text in a bunch of man pages. Notes: svn path=/head/; revision=17782
* Document madvise(2) as it is in FreeBSD.John Dyson1996-07-201-11/+40
| | | | Notes: svn path=/head/; revision=17229
* Document the int -> size_t change to the m* syscallsPeter Wemm1996-03-021-1/+1
| | | | Notes: svn path=/head/; revision=14326
* Submitted by: bruce, davidg, dysonWolfram Schneider1996-02-021-0/+2
| | | | | | | | add a BUG section for mmap with current limitation section SYNOPSIS completed Notes: svn path=/head/; revision=13836
* note in bugs section: madvise not yet implementedWolfram Schneider1996-01-231-1/+6
| | | | Notes: svn path=/head/; revision=13599
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-271-0/+66
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573