Skip to content

Commit

Permalink
stress-mmap: add --mmap2 option in short help
Browse files Browse the repository at this point in the history
Signed-off-by: Colin Ian King <[email protected]>
  • Loading branch information
ColinIanKing committed Jan 18, 2024
1 parent c223958 commit fa6a1ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stress-mmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ static const stress_help_t help[] = {
{ NULL, "mmap-madvise", "enable random madvise on mmap'd region" },
{ NULL, "mmap-mergeable","where possible, flag mmap'd pages as mergeable" },
{ NULL, "mmap-mlock", "attempt to mlock mmap'd pages" },
{ NULL, "mmap-mmap2", "use mmap2 instead of mmap (when available)" },
{ NULL, "mmap-mprotect", "enable mmap mprotect stressing" },
{ NULL, "mmap-odirect", "enable O_DIRECT on file" },
{ NULL, "mmap-ops N", "stop after N mmap bogo operations" },
Expand Down

0 comments on commit fa6a1ec

Please sign in to comment.