From 20fa30b3889b611cb9e1bda72ee85b3e6c95db56 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Tue, 2 Mar 2010 21:53:59 +0100 Subject: [PATCH] Fix comments about 64 bit FreeBSD mmap() behavior. --- src/lj_alloc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lj_alloc.c b/src/lj_alloc.c index 0c498a7d..58887469 100644 --- a/src/lj_alloc.c +++ b/src/lj_alloc.c @@ -172,7 +172,8 @@ static LJ_AINLINE int CALL_MUNMAP(void *ptr, size_t size) #elif defined(__MACH__) && defined(__APPLE__) #error "NYI: no support for 64 bit OSX (yet)" #elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) -/* FreeBSD 64 bit kernel ignores mmap() hints for lower 8GB of memory. */ +/* FreeBSD 64 bit kernel ignores mmap() hints for lower 32GB of memory. */ +/* See /usr/src/sys/vm/vm_mmap.c near RLIMIT_DATA. */ #error "No support for 64 bit FreeBSD" #else #error "NYI: need an equivalent of MAP_32BIT for this 64 bit OS"