OSDN Git Service

(split) LDP: Update original to LDP v3.50.
[linuxjm/LDP_man-pages.git] / original / man2 / madvise.2
index 03ca249..5814aee 100644 (file)
@@ -1,7 +1,6 @@
-.\" Hey Emacs! This file is -*- nroff -*- source.
-.\"
 .\" Copyright (C) 2001 David Gómez <davidge@jazzfree.com>
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
@@ -21,6 +20,7 @@
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .\" Based on comments from mm/filemap.c. Last modified on 10-06-2001
 .\" Modified, 25 Feb 2002, Michael Kerrisk, <mtk.manpages@gmail.com>
@@ -193,7 +193,7 @@ KSM only merges private anonymous pages (see
 The KSM feature is intended for applications that generate many
 instances of the same data (e.g., virtualization systems such as KVM).
 It can consume a lot of processing power; use with care.
-See the kernel source file
+See the Linux kernel source file
 .I Documentation/vm/ksm.txt
 for more details.
 The
@@ -231,7 +231,7 @@ data and access large regions of that memory at a time (e.g., virtualization
 systems such as QEMU).
 It can very easily waste memory (e.g., a 2MB mapping that only ever accesses
 1 byte will result in 2MB of wired memory instead of one 4KB page).
-See the kernel source file
+See the Linux kernel source file
 .I Documentation/vm/transhuge.txt
 for more details.
 The
@@ -265,7 +265,7 @@ file (see
 .BR MADV_DODUMP " (since Linux 3.4)"
 Undo the effect of an earlier
 .BR MADV_DONTDUMP .
-.SH "RETURN VALUE"
+.SH RETURN VALUE
 On success
 .BR madvise ()
 returns zero.
@@ -322,7 +322,7 @@ Not enough memory: paging in failed.
 .B ENOMEM
 Addresses in the specified range are not currently
 mapped, or are outside the address space of the process.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
 POSIX.1b.
 POSIX.1-2001 describes
 .BR posix_madvise (3)
@@ -344,7 +344,7 @@ and
 .BR MADV_UNMERGEABLE
 are Linux-specific.
 .SH NOTES
-.SS "Linux Notes"
+.SS Linux notes
 .LP
 The current Linux implementation (2.4.0) views this system call
 more as a command than as advice and hence may return an error
@@ -368,7 +368,7 @@ from the system call, as it should).
 .\" The
 .\" .BR madvise ()
 .\" function first appeared in 4.4BSD.
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR getrlimit (2),
 .BR mincore (2),
 .BR mmap (2),