Project

General

Profile

Bug #3786

mmap doesn't respect address hints.

Added by Theo Schlossnagle over 6 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2013-05-25
Due date:
% Done:

90%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

The mmap() man page says that if addr is non-zero and MAP_FIXED is not specified that it will make an effort to allocate to an address "nearby." We should make mmap honor this casual agreement.


Files

mmap-test-3786.c (1.44 KB) mmap-test-3786.c Test case. Theo Schlossnagle, 2013-05-25 01:53 PM

History

#1

Updated by Theo Schlossnagle over 6 years ago

Created a test case.

Also available in: Atom PDF