-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When referring to memory mapping, one is usually referring to mmap(2). There are 2 categories for using mmap. One category is SHARED vs PRIVATE mappings. The other category is FILE vs ANONYMOUS mappings. Mixed together you get the 4 following combinations: 1. PRIVATE FILE MAPPING 2. SHARED FILE MAPPING 3. PRIVATE ANONYMOUS MAPPING 4. SHARED ANONYMOUS MAPPING Add a memory mapping tool to support the above four scenarios. Updates numa_stress with mmap tool. Signed-off-by: zhenyzha <[email protected]>
- Loading branch information
Showing
3 changed files
with
72 additions
and
86 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters