From: Andre Noll Date: Sun, 30 Sep 2018 20:58:25 +0000 (+0200) Subject: vss: Add documentation of MAP_POPULATE. X-Git-Tag: v0.6.3~58 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=23ef2355fbdebce56083ec7a0ebb65a05c42e5dc;hp=41d12a1e75017848620bd3670d9863aea63b62fb vss: Add documentation of MAP_POPULATE. 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. --- diff --git a/vss.c b/vss.c index f6ec8393..73c72311 100644 --- 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