Skip to content

Commit

Permalink
doc: list largepage values in --help
Browse files Browse the repository at this point in the history
This commit adds the supported --use-largepages values to
the --help menu.

PR-URL: #31537
Fixes: #31533
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
cjihrig authored and targos committed Apr 28, 2020
1 parent 49ddd36 commit 9d9e185
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/node_options.cc
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,10 @@ PerProcessOptionsParser::PerProcessOptionsParser(
#endif
#endif
AddOption("--use-largepages",
"Map the Node.js static code to large pages",
"Map the Node.js static code to large pages. Options are "
"'off' (the default value, meaning do not map), "
"'on' (map and ignore failure, reporting it to stderr), "
"or 'silent' (map and silently ignore failure)",
&PerProcessOptions::use_largepages,
kAllowedInEnvironment);

Expand Down

0 comments on commit 9d9e185

Please sign in to comment.