freebsd-nq/lib/libc/sys
Matthew Dillon 4f79d873c1 Add MAP_NOSYNC feature to mmap(), and MADV_NOSYNC and MADV_AUTOSYNC to
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
1999-12-12 03:19:33 +00:00
..
__error.c
_exit.2
accept.2 General clean-up of socket.h and associated sources to synchronise up 1999-11-24 20:49:04 +00:00
access.2
acct.2
adjtime.2
aio_cancel.2
aio_error.2
aio_read.2
aio_return.2
aio_suspend.2
aio_write.2
bind.2 General clean-up of socket.h and associated sources to synchronise up 1999-11-24 20:49:04 +00:00
brk.2
chdir.2
chflags.2
chmod.2
chown.2
chroot.2
clock_gettime.2
close.2
connect.2 General clean-up of socket.h and associated sources to synchronise up 1999-11-24 20:49:04 +00:00
dup.2
execve.2
fcntl.2
fhopen.2
flock.2
fork.2
fsync.2
ftruncate.c
getdirentries.2
getdtablesize.2
getfh.2
getfsstat.2
getgid.2
getgroups.2
getitimer.2
getlogin.2 Document the getlogin_r function. 1999-11-28 22:41:50 +00:00
getpeername.2 General clean-up of socket.h and associated sources to synchronise up 1999-11-24 20:49:04 +00:00
getpgrp.2
getpid.2
getpriority.2
getrlimit.2 Add RLIMIT_SBSIZE here, too. 1999-12-03 23:25:14 +00:00
getrusage.2
getsid.2
getsockname.2 General clean-up of socket.h and associated sources to synchronise up 1999-11-24 20:49:04 +00:00
getsockopt.2 General clean-up of socket.h and associated sources to synchronise up 1999-11-24 20:49:04 +00:00
gettimeofday.2
getuid.2
intro.2
ioctl.2
issetugid.2
jail.2
kill.2
kldfind.2
kldfirstmod.2
kldload.2
kldnext.2
kldstat.2
kldunload.2
ktrace.2
link.2
listen.2
lseek.2
lseek.c
madvise.2 Add MAP_NOSYNC feature to mmap(), and MADV_NOSYNC and MADV_AUTOSYNC to 1999-12-12 03:19:33 +00:00
Makefile.inc
mincore.2
minherit.2
mkdir.2
mkfifo.2
mknod.2
mlock.2
mmap.2 Add MAP_NOSYNC feature to mmap(), and MADV_NOSYNC and MADV_AUTOSYNC to 1999-12-12 03:19:33 +00:00
mmap.c
mount.2
mprotect.2
msync.2
munmap.2
nanosleep.2
nfssvc.2
open.2
pathconf.2
pipe.2
poll.2
pread.c
profil.2
ptrace.2
pwrite.c
quotactl.2
read.2
readlink.2
reboot.2
recv.2 General clean-up of socket.h and associated sources to synchronise up 1999-11-24 20:49:04 +00:00
rename.2
revoke.2
rfork.2
rmdir.2
rtprio.2
sched_get_priority_max.2
sched_setparam.2
sched_setscheduler.2
sched_yield.2
select.2
semctl.2
semget.2
semop.2
send.2 General clean-up of socket.h and associated sources to synchronise up 1999-11-24 20:49:04 +00:00
sendfile.2
setgroups.2
setpgid.2
setregid.2
setreuid.2
setsid.2
setuid.2
shmat.2
shmctl.2
shmget.2
shutdown.2
sigaction.2
sigaltstack.2
sigpending.2
sigprocmask.2
sigreturn.2
sigstack.2
sigsuspend.2
socket.2 Add reference to netgraph(4) in the 'see also' section. 1999-12-06 23:35:40 +00:00
socketpair.2
stat.2
statfs.2
swapon.2
symlink.2
sync.2
sysarch.2
syscall.2
truncate.2
truncate.c
umask.2
undelete.2
unlink.2
utimes.2
vfork.2
wait.2
write.2