[PATCH] Define MAP_NORESERVE to zero for FreeBSD

Dimitry Andric dimitry at andric.com
Tue Feb 17 11:13:53 PST 2015


In http://reviews.llvm.org/D7485#124902, @kcc wrote:

> How does this all work then?
>  We need MAP_NORESERVE on Linux to map 20Tb for the asan process. 
>  What's different on FreeBSD?


The MAP_NORESERVE and MAP_RENAME flags were retired here: https://reviews.freebsd.org/rS273250

Apparently they were never implemented on FreeBSD, at least not with Linux semantics.  As far as I understand, FreeBSD doesn't have the functionality of signalling the affected process, instead of blocking for a page.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7485

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list