From 37e3118df68760e39b9d1f050070415a3efd25c0 Mon Sep 17 00:00:00 2001 From: Masamichi Takagi Date: Tue, 26 Sep 2017 18:35:34 +0900 Subject: [PATCH] mcexec: Add --stack-premap=[,] to man page --- executer/user/mcexec.1in | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/executer/user/mcexec.1in b/executer/user/mcexec.1in index 12fbdc34..8b93bc63 100644 --- a/executer/user/mcexec.1in +++ b/executer/user/mcexec.1in @@ -43,14 +43,30 @@ threads equals to the number of CPU cores assigned to McKernel. .TP .B -h N, --extend-heap-by=N Specify the size of heap extension by the brk() system call. -The default size is 4K Byte. You may specify the value in the -following format: - {k|K|m|M|g|G} -e.g.: - 10k for 10Kibyte, 100M for 100Mibyte, 1G for 1Gibyte +The default size is 4K Byte. \fIN\fR accepts the following format: +.br +.RS 10 +{k|K|m|M|g|G} +.br +e.g.: 10k means 10Kibyte, 100M 100Mibyte, 1G 1Gibyte +.RE +.RS 7 In certain applications, such as miniFE, specifying "-h 12M" improves performance. +.RE + +.TP +.B -s P,[M], --stack-premap=P,[M] +Pre-map \fIP\fR bytes of stack when creating a process. 2Mibyte is +used when not specified. And set the max size of stack to \fIM\fR +bytes. Both of them accept the following format: +.br +.RS 10 +{k|K|m|M|g|G} +.br +e.g.: 10k means 10Kibyte, 100M 100Mibyte, 1G 1Gibyte +.RE .TP .B --profile