opnsense-src/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 Function to return a pointer to the non-threaded errno. This is declared 1998-03-09 07:09:55 +00:00
_exit.2 mdoc(7) style fixes 1999-09-05 06:37:01 +00:00
accept.2 General clean-up of socket.h and associated sources to synchronise up 1999-11-24 20:49:04 +00:00
access.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
acct.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
adjtime.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
aio_cancel.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
aio_error.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
aio_read.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
aio_return.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
aio_suspend.2 Correct the description of the timeout argument. I've examined 1999-10-09 01:35:58 +00:00
aio_write.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
bind.2 General clean-up of socket.h and associated sources to synchronise up 1999-11-24 20:49:04 +00:00
brk.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
chdir.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
chflags.2 mdoc style fix. 1999-09-05 06:39:22 +00:00
chmod.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
chown.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
chroot.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
clock_gettime.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
close.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
connect.2 General clean-up of socket.h and associated sources to synchronise up 1999-11-24 20:49:04 +00:00
dup.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
execve.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fcntl.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fhopen.2 Add FreeBSD history in 'HISTORY' 1999-09-11 21:07:14 +00:00
flock.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fork.2 Remove useless .Fn macro suffix 1999-09-05 06:41:49 +00:00
fsync.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ftruncate.c Implement compile time thread lock debug. 1998-06-09 08:37:35 +00:00
getdirentries.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getdtablesize.2 Some style and "look" fixes 1999-09-05 07:02:22 +00:00
getfh.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getfsstat.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getgid.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getgroups.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getitimer.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
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 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getpid.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getpriority.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getrlimit.2 Add RLIMIT_SBSIZE here, too. 1999-12-03 23:25:14 +00:00
getrusage.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getsid.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
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 Some style and "look" fixes 1999-09-05 07:02:22 +00:00
getuid.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
intro.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ioctl.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
issetugid.2 Some style and "look" fixes 1999-09-05 07:02:22 +00:00
jail.2 Add a version number field to the jail(2) argument so that future changes 1999-09-19 08:36:03 +00:00
kill.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
kldfind.2 Properly document what ENOENT really means for kldfind(2). 1999-11-14 18:15:33 +00:00
kldfirstmod.2 mdoc(7) style fix: FreeBSD -> .Fx 1999-09-05 06:47:01 +00:00
kldload.2 mdoc(7) style fix: FreeBSD -> .Fx 1999-09-05 06:47:01 +00:00
kldnext.2 mdoc(7) style fix: FreeBSD -> .Fx 1999-09-05 06:47:01 +00:00
kldstat.2 mdoc(7) style fix: FreeBSD -> .Fx 1999-09-05 06:47:01 +00:00
kldunload.2 mdoc(7) style fix: FreeBSD -> .Fx 1999-09-05 06:47:01 +00:00
ktrace.2 Some style and "look" fixes 1999-09-05 07:02:22 +00:00
link.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
listen.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
lseek.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
lseek.c Implement compile time thread lock debug. 1998-06-09 08:37:35 +00:00
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 Fixed disordering in previous commit. 1999-09-11 14:20:18 +00:00
mincore.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
minherit.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
mkdir.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
mkfifo.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
mknod.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
mlock.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
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 Add #include <unistd.h> to get the prototype for __syscall(). 1998-03-09 07:27:58 +00:00
mount.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
mprotect.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
msync.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
munmap.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
nanosleep.2 Name Description (.Nd macro) added. 1999-09-05 06:59:34 +00:00
nfssvc.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
open.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
pathconf.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
pipe.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
poll.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
pread.c Add wrappers for pread and pwrite syscalls. 1999-04-04 21:46:24 +00:00
profil.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ptrace.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
pwrite.c Add wrappers for pread and pwrite syscalls. 1999-04-04 21:46:24 +00:00
quotactl.2 Some style and "look" fixes 1999-09-05 07:02:22 +00:00
read.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
readlink.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
reboot.2 mdoc(7) style fix. 1999-09-05 06:50:49 +00:00
recv.2 General clean-up of socket.h and associated sources to synchronise up 1999-11-24 20:49:04 +00:00
rename.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
revoke.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
rfork.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
rmdir.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
rtprio.2 Some style and "look" fixes 1999-09-05 07:02:22 +00:00
sched_get_priority_max.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
sched_setparam.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
sched_setscheduler.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
sched_yield.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
select.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
semctl.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
semget.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
semop.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
send.2 General clean-up of socket.h and associated sources to synchronise up 1999-11-24 20:49:04 +00:00
sendfile.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
setgroups.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
setpgid.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
setregid.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
setreuid.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
setsid.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
setuid.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
shmat.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
shmctl.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
shmget.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
shutdown.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
sigaction.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
sigaltstack.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
sigpending.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
sigprocmask.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
sigreturn.2 Some style and "look" fixes 1999-09-05 07:02:22 +00:00
sigstack.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
sigsuspend.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
socket.2 Add reference to netgraph(4) in the 'see also' section. 1999-12-06 23:35:40 +00:00
socketpair.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
stat.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
statfs.2 sync with src/sys/sys/mount.h 1999-09-10 09:12:24 +00:00
swapon.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
symlink.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
sync.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
sysarch.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
syscall.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
truncate.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
truncate.c Fixed missing const. Include <unistd.h> so that the function type gets 1997-04-14 15:14:58 +00:00
umask.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
undelete.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
unlink.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
utimes.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
vfork.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
wait.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
write.2 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00