.\" 2011-09-18, Doug Goldstein <cardoe@cardoe.com>
.\" Document MADV_HUGEPAGE and MADV_NOHUGEPAGE
.\"
-.TH MADVISE 2 2012-04-28 "Linux" "Linux Programmer's Manual"
+.TH MADVISE 2 2014-12-31 "Linux" "Linux Programmer's Manual"
.SH NAME
madvise \- give advice about use of memory
.SH SYNOPSIS
.B ENOMEM
Addresses in the specified range are not currently
mapped, or are outside the address space of the process.
+.SH VERSIONS
+Since Linux 3.18,
+.\" commit d3ac21cacc24790eb45d735769f35753f5b56ceb
+support for this system call is optional,
+depending on the setting of the
+.B CONFIG_ADVISE_SYSCALLS
+configuration option.
.SH CONFORMING TO
POSIX.1b.
POSIX.1-2001 describes
.BR mprotect (2),
.BR msync (2),
.BR munmap (2),
+.BR prctl (2),
.BR core (5)
.SH COLOPHON
-This page is part of release 3.64 of the Linux
+This page is part of release 3.79 of the Linux
.I man-pages
project.
A description of the project,
-and information about reporting bugs,
+information about reporting bugs,
+and the latest version of this page,
can be found at
\%http://www.kernel.org/doc/man\-pages/.