projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41d12a1
)
vss: Add documentation of MAP_POPULATE.
author
Andre Noll
<maan@tuebingen.mpg.de>
Sun, 30 Sep 2018 20:58:25 +0000
(22:58 +0200)
committer
Andre Noll
<maan@tuebingen.mpg.de>
Tue, 25 Dec 2018 18:30:50 +0000
(19:30 +0100)
It should be clear why the vss should ask the kernel to prefault the
page tables for the mapping, but it's less clear why we might need
to define the preprocessor symbol.
vss.c
patch
|
blob
|
history
diff --git
a/vss.c
b/vss.c
index
f6ec839
..
73c7231
100644
(file)
--- a/
vss.c
+++ b/
vss.c
@@
-941,6
+941,7
@@
static int recv_afs_msg(int afs_socket, int *fd, uint32_t *code, uint32_t *data)
}
#ifndef MAP_POPULATE
+/** As of 2018, neither FreeBSD-11.2 nor NetBSD-8.0 have MAP_POPULATE. */
#define MAP_POPULATE 0
#endif