Project

General

Profile

Actions

Bug #3785

closed

Implement MAP_32BIT flag to mmap()

Added by Theo Schlossnagle about 10 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Category:
kernel
Start date:
2013-05-25
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

Description

The kernel internals already support the idea of mmap restricting itself to below the 4GB boundary. It is a private kernel flag and can't be passed in from user space.

Linux supports this and it is useful for systems that do pointer packing where allocations need to be limited.


Files

mmap-test-3785.c (664 Bytes) mmap-test-3785.c Test case. Theo Schlossnagle, 2013-05-25 01:53 PM
Actions #1

Updated by Theo Schlossnagle about 10 years ago

Created a test case.

Actions #3

Updated by Yuri Pankov over 9 years ago

  • Category set to kernel
  • Status changed from New to Resolved
  • Assignee set to Theo Schlossnagle
  • % Done changed from 90 to 100
  • Tags deleted (needs-triage)

Resolved in:

commit 1b3b16f35bee1ffc210591d82bca6adf247954b0
Author: Theo Schlossnagle <jesus@omniti.com>
Date:   Fri Aug 23 11:13:02 2013 -0400

    3785 Implement MAP_32BIT flag to mmap()
    Reviewed by: Albert Lee <trisk@nexenta.com>
    Reviewed by: Dan McDonald <danmcd@nexenta.com>
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Approved by: Dan McDonald <danmcd@nexenta.com>
Actions

Also available in: Atom PDF