summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/mmap.2
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2000-03-02 09:14:21 +0000
committersheldonh <sheldonh@FreeBSD.org>2000-03-02 09:14:21 +0000
commit329223e6f229a55ee8fed800f358f30e994ed749 (patch)
tree5d5e6c715ccfb778a29f10e1ea16f06731edbda8 /lib/libc/sys/mmap.2
parent05f0a865546b5e0b902987be72a75a7b0ef85d09 (diff)
downloadFreeBSD-src-329223e6f229a55ee8fed800f358f30e994ed749.zip
FreeBSD-src-329223e6f229a55ee8fed800f358f30e994ed749.tar.gz
Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
Diffstat (limited to 'lib/libc/sys/mmap.2')
-rw-r--r--lib/libc/sys/mmap.218
1 files changed, 12 insertions, 6 deletions
diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2
index 185b7b8..cffccf8 100644
--- a/lib/libc/sys/mmap.2
+++ b/lib/libc/sys/mmap.2
@@ -133,9 +133,12 @@ Modifications are private.
Modifications are shared.
.It Dv MAP_STACK
This option is only available if your system has been compiled with
-VM_STACK defined when compiling the kernel. This is the default for
-i386 only. Consider adding -DVM_STACK to COPTFLAGS in your /etc/make.conf
-to enable this option for other architechures. MAP_STACK implies
+VM_STACK defined when compiling the kernel.
+This is the default for
+i386 only.
+Consider adding -DVM_STACK to COPTFLAGS in your /etc/make.conf
+to enable this option for other architechures.
+MAP_STACK implies
MAP_ANON, and
.Fa offset
of 0.
@@ -274,16 +277,19 @@ is limited to 2GB. Mmapping slightly more than 2GB doesn't work, but
it is possible to map a window of size (filesize % 2GB) for file sizes
of slightly less than 2G, 4GB, 6GB and 8GB.
.Pp
-The limit is imposed for a variety of reasons. Most of them have to do
+The limit is imposed for a variety of reasons.
+Most of them have to do
with
.Tn FreeBSD
not wanting to use 64 bit offsets in the VM system due to
-the extreme performance penalty. So
+the extreme performance penalty.
+So
.Tn FreeBSD
uses 32bit page indexes and
this gives
.Tn FreeBSD
-a maximum of 8TB filesizes. It's actually bugs in
+a maximum of 8TB filesizes.
+It's actually bugs in
the filesystem code that causes the limit to be further restricted to
1TB (loss of precision when doing blockno calculations).
.Pp
OpenPOWER on IntegriCloud