svn commit: r320314 - head/lib/libc/sys
Konstantin Belousov
kib at FreeBSD.org
Sat Jun 24 16:36:32 UTC 2017
Author: kib
Date: Sat Jun 24 16:36:30 2017
New Revision: 320314
URL: https://svnweb.freebsd.org/changeset/base/320314
Log:
Remove the description of MAP_HASSEMAPHORE.
The flag is not implemented, all FreeBSD architectures correctly
handle locks on normal cacheable mappings. On the other hand, the
flag was specified by some software, so it is kept in the header as
nop. Removal from the man page should discourage its use.
Reviewed by: alc, bjk, emaste, markj, pho
MFC after: 3 days
X-Differential revision: https://reviews.freebsd.org/D11306
Modified:
head/lib/libc/sys/mmap.2
Modified: head/lib/libc/sys/mmap.2
==============================================================================
--- head/lib/libc/sys/mmap.2 Sat Jun 24 16:21:34 2017 (r320313)
+++ head/lib/libc/sys/mmap.2 Sat Jun 24 16:36:30 2017 (r320314)
@@ -28,7 +28,7 @@
.\" @(#)mmap.2 8.4 (Berkeley) 5/11/95
.\" $FreeBSD$
.\"
-.Dd February 4, 2017
+.Dd June 22, 2017
.Dt MMAP 2
.Os
.Sh NAME
@@ -199,9 +199,6 @@ In contrast, if
.Dv MAP_EXCL
is specified, the request will fail if a mapping
already exists within the range.
-.It Dv MAP_HASSEMAPHORE
-Notify the kernel that the region may contain semaphores and that special
-handling may be necessary.
.It Dv MAP_NOCORE
Region is not included in a core file.
.It Dv MAP_NOSYNC
More information about the svn-src-all
mailing list