Implement MAP_32BIT flag to mmap()
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.
Updated by Yuri Pankov over 6 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 (
commit 1b3b16f35bee1ffc210591d82bca6adf247954b0 Author: Theo Schlossnagle <email@example.com> Date: Fri Aug 23 11:13:02 2013 -0400 3785 Implement MAP_32BIT flag to mmap() Reviewed by: Albert Lee <firstname.lastname@example.org> Reviewed by: Dan McDonald <email@example.com> Reviewed by: Robert Mustacchi <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>