]> git.ipfire.org Git - thirdparty/squid.git/commit
Hurd: define MAP_NORESERVE as no-op when missing
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 24 Apr 2013 07:47:19 +0000 (01:47 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 24 Apr 2013 07:47:19 +0000 (01:47 -0600)
commitdef2dae16254ab9b38ed80ebc1578be61a56c15c
treed3c39f1d5dae9b1d7141c0ce990e36a903d5c446
parentb865855209358f98cb315fe4b607c05f6f82392a
Hurd: define MAP_NORESERVE as no-op when missing

Some systems like GNU Hurd provide teh mmap() API but lack MAP_NORESERVE
support. This option is an optimization, so we can define the macro
ourselves to nil and apparently not suffer (many) bad side effects.
src/DiskIO/Mmapped/MmappedFile.cc